Oliver Kleine
2015-03-23 16:50:34 UTC
Dear all,
I'm currently trying to set up a scenario to test HTTP/CoAP proxying
using a forward proxy and a common HTTP Web Browser such as Chrome or
Firefox as a client. The current draft for HTTP/CoAP Mapping at
https://tools.ietf.org/html/draft-ietf-core-http-mapping-06
only covers the reverse proxy case using the "origin-form":
GET /path/to/service
Host: example.org
to define the target URL within the HTTP request. This implies some CoAP
scheme as the predefined target URL scheme. For forwarding proxies in
general the HTTP request is supposed to contain the target URL in
"absolute-form":
GET coap://example.org/path/to/service
which is supposed to be automatically set if the browser is configured
to use a proxy. This seems to work fine with http(s)-URLs but not for
coap-URLs.
I tried some addons like ProxyFoxy for Firefox and SwitchySharp for
Chrome but the URL pattern "coap*" leads to unexpected behaviour. For
e.g. Chrome a coap-URL in the address bar leads to an unintended Google
search for the given URL and not to the intended HTTP request to the
proxy configured to handle requests to "coap*".
Furthermore, I found this 3 years old thread:
https://www.w3.org/Bugs/Public/show_bug.cgi?id=19582
but no solution. Is there any progress so far? Or, even better, could
someone recommend a proxy plugin which is able to properly deal with the
URL-pattern "coap://*"?
Thank you and best regards,
Oliver
--
Oliver Kleine, M.Sc.
UNIVERSITÃT ZU LÃBECK
INSTITUT FÃR TELEMATIK
Ratzeburger Allee 160
23538 LÃŒbeck
Tel +49 451 500 5396
Fax +49 451 500 5382
***@itm.uni-luebeck.de
https://www.itm.uni-luebeck.de/people/kleine
I'm currently trying to set up a scenario to test HTTP/CoAP proxying
using a forward proxy and a common HTTP Web Browser such as Chrome or
Firefox as a client. The current draft for HTTP/CoAP Mapping at
https://tools.ietf.org/html/draft-ietf-core-http-mapping-06
only covers the reverse proxy case using the "origin-form":
GET /path/to/service
Host: example.org
to define the target URL within the HTTP request. This implies some CoAP
scheme as the predefined target URL scheme. For forwarding proxies in
general the HTTP request is supposed to contain the target URL in
"absolute-form":
GET coap://example.org/path/to/service
which is supposed to be automatically set if the browser is configured
to use a proxy. This seems to work fine with http(s)-URLs but not for
coap-URLs.
I tried some addons like ProxyFoxy for Firefox and SwitchySharp for
Chrome but the URL pattern "coap*" leads to unexpected behaviour. For
e.g. Chrome a coap-URL in the address bar leads to an unintended Google
search for the given URL and not to the intended HTTP request to the
proxy configured to handle requests to "coap*".
Furthermore, I found this 3 years old thread:
https://www.w3.org/Bugs/Public/show_bug.cgi?id=19582
but no solution. Is there any progress so far? Or, even better, could
someone recommend a proxy plugin which is able to properly deal with the
URL-pattern "coap://*"?
Thank you and best regards,
Oliver
--
Oliver Kleine, M.Sc.
UNIVERSITÃT ZU LÃBECK
INSTITUT FÃR TELEMATIK
Ratzeburger Allee 160
23538 LÃŒbeck
Tel +49 451 500 5396
Fax +49 451 500 5382
***@itm.uni-luebeck.de
https://www.itm.uni-luebeck.de/people/kleine