Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

This is going to break in cases where the request line grows above 8k-16k. Many browsers/proxies implement limits on headers/request lines, for good reasons.

It's a very cool idea though.



This is quite clearly covered in the actual document!

> For longer documents, Hashify splits the contents into as many as 15 chunks. The chunks are then Base64-encoded and sent to bit.ly in a single request. The bit.ly hashes contained in the response are then "packed" into a URL such as http://hashify.me/unpack:gYi2Ie,g4fpte. Finally, this URL is itself shortened.


> as many as 15 chunks

Yes, 15 * 2048 = a 30k limit on document size


python> 'a' * 16000

copy that to hashify, and let me know the length of the url you get.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: