Search for json bytes fully

This commit is contained in:
dominik martinez 2024-02-29 19:41:22 -05:00
parent 3449bdded6
commit b04c59dfc7

View file

@ -271,7 +271,7 @@
(and (search-forward-regexp
"\\(?:.*: .*\r\n\\)*Content-Length: \
*\\([[:digit:]]+\\)\r\n\\(?:.*: .*\r\n\\)*\r\n"
(+ (point) 200)
nil
t)
(string-to-number (match-string 1))))
(unless expected-bytes