Questions tagged [request-target]
The request-target tag has no usage guidance.
5 questions
1
vote
0
answers
334
views
Pset6 server - 501 Not Implemented error
This is related to my earlier question, but as it turns out that I mistyped the error code in server.c and actually have a 501 Not Implemented error (instead of a 505), I made a new question because ...
0
votes
1
answer
115
views
absolute-path [ "?" query ]
Can you explain what this means:
the only one of which your server needs to support is
absolute-path [ "?" query ].
Does this mean thats the format of it? It would look like GET absolute-path [ "?" ...
0
votes
1
answer
37
views
Parse problem [505] and no one can find the problem :O
This is my parse function:
I keep getting a 505 error and I can't wrap my head around what is going wrong. Why can't my code figure out that the line is GET / HTTP/1.1
I hope someone could help me ...
0
votes
1
answer
103
views
Pset6 how to remove http/1.1 from request line
Really stuck on pset6, all I want to do is subtract http/1.1 from the request target and nothing I've tried seems to work.
Does anyone know any pseudo code I could follow for this?
I can move the ...
0
votes
1
answer
132
views
a question about queries in request line
i'm in the (extract query from request-target) part of the problem set.
are queries always accompanied by a PHP file and always have the form(q= something)?