I tryed your advice and now I have some problems. First problem - this variant works for me only with english in subject and event. If I try to use russian letters - I get Internal Server Error and the second problem: this way doesn't work on some PC without common features. For example: this is http://bpaste.net/show/tOHhBFPydT7el10XZBWo/ a packet was sent by browser when I click preview button and this is http://codepad.org/yW1c82ly a packet which was sent by my application. When I get reply from server this reply doesn't contains any info. Only one new line. But on my home pc all works fine with english-only events.
Hmm. "Works for English but not for Russian" sounds like some kind of encoding or character set problem, perhaps because you didn't specify the correct character set (probably UTF8). Also, check that the line you replaced by == in both captures is an empty line in what you send, just in case. (IIRC, it must be completely empty - if it contains spaces, that won't work.)
24 24 1132 but you pass "Content-Length: 1108", which looks like you don't include the end-of-line characters (\n) in your count. (1108 + 24 lines = 1132).
This 2 links - is not full packets. I copy html header and data from wireshark. "==" - this is only my symbol for division html header from data header for you.
I use percentage encoding for non ascii symbols but it doesn't help.
Comments 6
(The comment has been removed)
For example: this is http://bpaste.net/show/tOHhBFPydT7el10XZBWo/ a packet was sent by browser when I click preview button
and this is http://codepad.org/yW1c82ly a packet which was sent by my application. When I get reply from server this reply doesn't contains any info. Only one new line. But on my home pc all works fine with english-only events.
May be you have any ideas about this.
Reply
When I feed the data part *after the ==) of http://codepad.org/yW1c82ly/raw.txt to wc, I get:
24 24 1132
but you pass "Content-Length: 1108", which looks like you don't include the end-of-line characters (\n) in your count. (1108 + 24 lines = 1132).
Reply
I use percentage encoding for non ascii symbols but it doesn't help.
Reply
Reply
Leave a comment