gorogoroumaru
b456c3afa1
Changed iteration to list comprehension in order to prevent "RuntimeError: dictionary changed size during iteration"
2020-07-06 19:01:10 +02:00
Thomas Kriechbaumer
49e10d7cc2
add http trailers changelog entry
2020-07-06 18:54:55 +02:00
Thomas Kriechbaumer
46a0f69485
Merge pull request #4042 from sanlengjingvv/develop
...
support HTTP/2 trailers
2020-07-06 17:14:17 +02:00
Thomas Kriechbaumer
c0f62cc559
fix missing message body and end_stream for trailers
2020-07-06 17:04:16 +02:00
Thomas Kriechbaumer
828ba0c2e7
refactor h2 trailer support
...
This allow's trailers without the initial Trailer header announcement. In HTTP/2 the stream ends with any frame containing END_SREAM. In the case of trailers, it is a final HEADERS frame after all the DATA frames. Therefore we do not need to explicitly check for the trailer announcement header, but can simply wait until the response message / stream has ended.
2020-07-06 01:05:26 +02:00
gorogoroumaru
0e998e9b52
Fix typespec_to_str funcion to process typing.Optional[int] ( #4066 )
...
* Fix typespec_to_str funcion to process typing.Optional[int]
* Add test
* Add test
Co-authored-by: gorogoroumaru <zokutyou2@gmail.com>
2020-07-05 11:20:39 +02:00
Maximilian Hils
65318603ae
Merge pull request #4058 from Vane11ope/vane11ope/fix
...
List was not cycled right for tab auto-completion
2020-07-05 04:04:44 +02:00
Vane11ope
ecf076cb24
Add tests for list completer
2020-07-05 10:40:48 +09:00
Vane11ope
2e0c078e7c
Use -1 as an initial value for the pos
2020-07-05 04:55:10 +09:00
Maximilian Hils
d52b17f200
Merge pull request #4065 from mitmproxy/codecov-fails-too-much
...
Don't fail on covecov errors
2020-07-04 12:29:36 +02:00
Maximilian Hils
96ce21687e
blacklist -> blocklist
2020-07-04 12:09:51 +02:00
Maximilian Hils
b46ffe1395
don't fail on covecov errors
...
this happens quite a bit, so let's stop failing tests for that.
2020-07-04 11:52:26 +02:00
Maximilian Hils
491123df23
Merge pull request #4064 from TeddJohnson/patch-1
...
Update concepts-certificates.md
2020-07-04 11:51:25 +02:00
Maximilian Hils
c60c3dbb75
docs: consistently use backticks for highlighting
2020-07-04 11:29:53 +02:00
Maximilian Hils
75ef914c05
Merge pull request #4062 from mhils/fix-tests
...
Minor addon improvements, fix tests
2020-07-04 11:29:02 +02:00
Maximilian Hils
50d7b4e84f
don'
2020-07-04 11:20:34 +02:00
Maximilian Hils
0ee0cf5668
minor addon improvements, fix tests
2020-07-04 11:19:23 +02:00
Tedd Johnson
c3d3b75517
Update concepts-certificates.md
...
{{< highlight bash >}} doesn't render properly on the wiki, so converted to codeblock
2020-07-04 01:14:21 -07:00
Maximilian Hils
cf158022d9
Merge pull request #4060 from mplattner/mapremote-addon
...
add mapremote addon to modify request URLs
2020-07-03 19:08:11 +02:00
Martin Plattner
cee4da4e8c
fix docs and url encoding
2020-07-03 16:31:41 +02:00
Maximilian Hils
417c213dd7
minor docs improvements
2020-07-03 15:29:17 +02:00
Martin Plattner
89fad1e2b1
add mapremote addon to modify request URLs
2020-07-03 14:27:37 +02:00
Thomas Kriechbaumer
288ce65d73
add h2 trailers example and fix sending
2020-07-03 12:49:31 +02:00
Thomas Kriechbaumer
ebb061796c
unify HTTP trailers APIs
2020-07-02 18:31:47 +02:00
Maximilian Hils
73163c876c
Merge pull request #4046 from mplattner/modify-body-addon
...
Replace replacements addon with new modify body addon
2020-07-02 15:02:37 +02:00
Martin Plattner
fe662b4282
improve modify addons docs
...
fixes #3945
2020-07-02 13:49:20 +02:00
sanlengjingvv
d589f13a1d
fix lint error
2020-07-02 18:46:38 +08:00
Martin Plattner
a782bb47a7
fix linting error
2020-07-02 12:42:14 +02:00
sanlengjingvv
22eb492a13
update FLOW_FORMAT_VERSION version
...
fix error when dump flow with http trailers
add testcase for http trailers
2020-07-02 18:32:12 +08:00
Vane11ope
e43c4e3cb1
Fix a type error
2020-07-02 11:31:04 +09:00
Vane11ope
7806a34858
List was not cycled right for tab autocompletion
2020-07-02 09:46:24 +09:00
Martin Plattner
aee1b81260
fix test coverage
2020-07-01 23:51:55 +02:00
Maximilian Hils
2a4933eb9d
minor fixes
2020-07-01 22:52:35 +02:00
Martin Plattner
2a408c9379
refactor modify addons
...
Use a universal ModifySpec class to represent rules.
ModifyHeaders now supports reading the header value from a file.
2020-07-01 13:25:28 +02:00
Thomas Kriechbaumer
9f6c0ebc7e
Merge pull request #4056 from Kriechi/update-changelog
...
Update changelog and add PR template
2020-07-01 12:22:38 +02:00
Maximilian Hils
5169962fdf
alternative PR template wording proposal
2020-07-01 12:13:33 +02:00
Thomas Kriechbaumer
540c293741
add PR template
2020-07-01 11:47:54 +02:00
Thomas Kriechbaumer
ac95f84a4c
update changelog
2020-07-01 11:47:42 +02:00
Martin Plattner
2ed7770716
modify body addon: fix typo in docs
2020-06-30 16:54:17 +02:00
Martin Plattner
0a12479399
modify addons: cleanup redundant code and error handling
2020-06-30 16:20:06 +02:00
Martin Plattner
48dcc6e073
revert modify headers parameter order
2020-06-30 14:57:46 +02:00
Maximilian Hils
b9108b271e
Merge pull request #4051 from yogeshojha/issue/clearall
...
New File has been renamed to clear all
2020-06-29 19:20:29 +02:00
Yogesh Ojha
4863825737
ran npm test
2020-06-29 21:36:13 +05:30
Yogesh Ojha
936f349bf7
styles/scripts vendor minified
2020-06-29 18:13:31 +05:30
Yogesh Ojha
0be9dc305b
minified
2020-06-29 18:10:57 +05:30
Yogesh Ojha
285b1f5fef
New file renamed to Clear all
2020-06-29 17:54:39 +05:30
sanlengjingvv
043d18ff73
correct spelling mistakes
2020-06-28 01:13:20 +08:00
sanlengjingvv
c87294dc60
move trailers to response and default None
2020-06-28 00:51:44 +08:00
sanlengjingvv
ebbba73281
serialize trailers for ws broadcast
2020-06-27 15:41:14 +08:00
sanlengjingvv
ca8285605e
trailers should be Optional
2020-06-27 11:08:26 +08:00