hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "西村俊夫" <nish...@gmail.com>
Subject UriPatternMatcher
Date Thu, 09 Oct 2008 12:27:55 GMT
Hi, all

When many web browsers make a HTTP request, they make "Host" header.
For example,
to access http://hc.apache.org/httpcomponents-client/primer.html they
make following lines;

GET /httpcomponents-client/primer.html  HTTP/1.1
HOST: hc.apache.org

But, we can make;

GET http://hc.apache.org/httpcomponents-client/primer.html HTTP/1.1

or

GET http://hc.apache.org:80/httpcomponents-client/primer.html HTTP/1.1

When I regist a HttpRequestHandler to HttpRequestHandlerRegistry, I
assign a uri-patten.
For example, I will assign "/httpcomponents-client". It matches to
"/httpcomponents-client/primer.html" . But it doesn't to
"http://hc.apache.org/httpcomponents-client/primer.html".

Should I make own UriPatternMatcher?

Regards,
Nishimu

---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
For additional commands, e-mail: httpclient-users-help@hc.apache.org


Mime
View raw message