preflight request fix
This commit is contained in:
1 parent
612615e8ae
commit
09a6585618
4 files changed
+6
-12
No files matched your search
@@ -23,7 +23,6 @@ namespace Http
|
||||
private body_buffer_length = 0
|
||||
private sent = 0
|
||||
private header_sent = 0
|
||||
private header_only = false
|
||||
private buf_start = 0
|
||||
private http_code = 0
|
||||
|
||||
@@ -125,7 +124,7 @@ ${m.GeneratedBy()}
|
||||
buf_pos = m.start + m.sent - m.buf_start
|
||||
buf_remaining = m.body_buffer.count() - buf_pos
|
||||
if buf_remaining = 0
|
||||
' This is expected if there's an ETag cache hit
|
||||
' This is expected if there's an ETag cache hit, or if body is empty
|
||||
LogDebug("source buffer is empty")
|
||||
end if
|
||||
req_remaining = m.body_buffer_length - m.sent
|
||||
|
||||
Reference in new issue
Block a user