Quote:
Originally Posted by gnutella06 Thanks for the reply. I have few more questions. When I requested the the Tiger tree to some host
with the following request:
GET /uri-res/N2X? urn:sha1:YKOTZQMNXNBXMKEQRJCJND32F6DAEYOY;FLCSY6YP GWUW75AT3TVH3VC3YADQNZLLJTRBVKI HTTP/1.1\r\n
From some host I get malformed request reply. I dont understand, why?
When I get positive reply from some other host, I can't understand how to parse, the binary serialized
tiger tree hash, any hints would be appreciated.
Thanks in advance,
Tehsin |
sorry for replying this late. anyway, you may have idea already but .....
you do not request like this:
Code:
GET /uri-res/N2X? urn:sha1:YKOTZQMNXNBXMKEQRJCJND32F6DAEYOY;FLCSY6YPGWUW75AT3TVH3VC3YADQNZLLJTRBVKI HTTP/1.1\r\n
but you do request with this:
Code:
GET /uri-res/N2X? urn:sha1:YKOTZQMNXNBXMKEQRJCJND32F6DAEYOY HTTP/1.1\r\n
string after semi-colon is TTH value which you need to verify against received DIME message, but you do not use that part for requesting.