audk/NetworkPkg/HttpDxe
Gary Ching-Pang Lin b199d94188 NetworkPkg: Remove the hostname from the http request URL.
Per RFC7230, the URL must be a absolute-path when making a request directly to
the server. Since proxy is not supported now, all requests to the HTTP driver
are actually direct requests. This commit removes the scheme and the hostname
from the URL in the http request if the URL is an absolute-URI so that the HTTP
server can interpret the request properly.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Gary Ching-Pang Lin <glin@suse.com>
Reviewed-by: Ye Ting <ting.ye@intel.com>
Reviewed-by: Fu Siyuan <siyuan.fu@intel.com>

git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18257 6f19259b-4bc3-4df7-8a09-765794883524
2015-08-22 12:35:19 +00:00
..
ComponentName.c
ComponentName.h
HttpDns.c
HttpDns.h
HttpDriver.c
HttpDriver.h
HttpDxe.inf
HttpDxe.uni
HttpDxeExtra.uni
HttpImpl.c NetworkPkg: Remove the hostname from the http request URL. 2015-08-22 12:35:19 +00:00
HttpImpl.h
HttpProto.c
HttpProto.h
HttpUtilities.c
HttpUtilities.h