Dynamic boundary #243

Merged
merged 2 commits into from Apr 25, 2012

Projects

None yet

3 participants

@zephrax
Contributor
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').

Regards,
zephrax

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

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

@polotek
Contributor

Just out of curiosity, why is this important?

Contributor

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