[99s-extend] query string with # sign

Loïc Hoguin essen at ninenines.eu
Fri Jul 26 18:11:15 CEST 2013


On 07/26/2013 06:08 PM, Samir Sow wrote:
> Hi,
>
> It seems that Cowboy removes the data after the # sign from the query string (GET) before handing the req to the handler.
> Is there any way to change this behavior ?

Look for the commit that removed "cowboy_req:fragment/1".

But be aware that #fragments aren't expected to be sent by an HTTP 
request and that browsers don't send it either. You probably should use 
the query string for that.

-- 
Loïc Hoguin
Erlang Cowboy
Nine Nines
http://ninenines.eu



More information about the Extend mailing list