Parsing a mostly partial url assupplied in a HTTP GET request-header
From: R.Wieser (rwieser-killthis-_at_xs4all.nl)
Date: 02/26/04
- Next message: Arkady Frenkel: "Re: Winsock App Filter"
- Previous message: Leandro H. Delamare: "Winsock App Filter"
- Next in thread: Louis Solomon [SteelBytes]: "Re: Parsing a mostly partial url assupplied in a HTTP GET request-header"
- Reply: Louis Solomon [SteelBytes]: "Re: Parsing a mostly partial url assupplied in a HTTP GET request-header"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 26 Feb 2004 20:30:11 +0100
Hello all,
I'm trying to parse/crack/divide into parts the URL that is part of an
HTTP GET request ("GET /mypath/myfile.ext?arguments=somedata HTTP/1.0").
I've tried to apply InternetCrackUrl, but it refused because it did not know
what scheme to use. GetUrlPart fails, probably because of the same reason.
I've tried to find if I could instruct InternetCrackUrl to use a default
scheme, but was unsucessfull. Some on GetUrlPart (somehow I think that this
call uses the first one).
Has anyone an idea of what I should use/do here (outside of doing the whole
parsing myself ofcourse :-) . I can alway's call the function, and prepend
a default scheme & server ("http://dummy") in front of what I'm having if I
get an error, but for some reason that does not strike me as a "clean"
solution ... :-)
Help/suggestions would be appriciated.
Regards,
Rudy Wieser
- Next message: Arkady Frenkel: "Re: Winsock App Filter"
- Previous message: Leandro H. Delamare: "Winsock App Filter"
- Next in thread: Louis Solomon [SteelBytes]: "Re: Parsing a mostly partial url assupplied in a HTTP GET request-header"
- Reply: Louis Solomon [SteelBytes]: "Re: Parsing a mostly partial url assupplied in a HTTP GET request-header"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|
|