Ciao guys,

    I came up with a doubt (I don't know but I never paid attention to this 
before). If I am not *wrong*, when requesting a URL through HTTP, we should 
encode the string (URL encoding), by using the encodeURL functions of the 
URL class (URLTrans.cc file).

    Essentially, two fields of the HTTP request IMHO need to be encoded 
prior requesting the resource.

    First case in the request line, for instance GET encoded_URL HTTP/1.0.

    The second one, when given, the referer.

Any suggestion? Do you think we can just ignore this and keep on sending 
the plain URL?

Ciao
-Gabriele

--
Gabriele Bartolini - Computer Programmer
U.O. Rete Civica - Comune di Prato - Prato - Italia - Europa
[EMAIL PROTECTED] | http://www.po-net.prato.it/

  The nice thing about Windows is - It does not just crash,
  it displays a dialog box and lets you press 'OK' first.


_______________________________________________________________

Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/
_______________________________________________
htdig-dev mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/htdig-dev

Reply via email to