-
Notifications
You must be signed in to change notification settings - Fork 77
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Shorthand headers fields should be writable #18
Comments
Hi Ian,
|
It seems that the returned value is a unicode instead of a dict, and 'unicode' object does not support item assignment. Traceback (most recent call last):
|
Hi, pkt['HTTP Request'].fields['Host'] = 'club.4399xx.com' ATM, you can change any field that was set in the original packet this way. |
Hi Luca,
|
I've got this issue as well. |
The writing "pkt['HTTP']['HTTP Request'].fields['Headers']['Host'] = 'club.4399xx.com'" is error because "pkt['HTTP']['HTTP Request'].fields['Headers']" is string. |
Hi,
I found the newly created pcap file "post_new.pcap" did not reflect the change with running below script, so could you please help me look into this issue? Thanks!
The text was updated successfully, but these errors were encountered: