Dynamic boundary #243

merged 2 commits into from Apr 25, 2012


None yet

3 participants

zephrax commented Apr 25, 2012

Hi.. I added a dynamic boundary ID using the UUID lib to make those requests more generic. Before, it was submiting the same boundary ID to every request ('frontier').


@mikeal mikeal merged commit 706929d into request:master Apr 25, 2012
mikeal commented Apr 25, 2012

looks good so I'm merging it but it would be nice if we had a test of this.


Just out of curiosity, why is this important?


It's not good to send always the same boundary ID to the server because if you are writing for example a software that makes automated requests, they can detect you using the boundary.

Every browser/engine like Webkit, Firefox, etc.. has differents boundary patterns and each one uses different algorithms to generate it. It's also a good way to not collide with the content of the post.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment