OGAPIFMGFNZPYIEN5AN5QXOAVUQDIRNFDT2X3FRXWVV5VQ5EY4VQC
OBSHJQC6Z3G6NSCNFNJB4FMYUNSLTXSRWN52YRGBICGG4RRYL6RQC
ZYR6UHQDYN66BINJJEOR3NSI7NFLKPMUSJGJBG2YWTAD7TB5226AC
Q4IRSNH2MHMR3QJIIPILEDIM4A2PLCG57T6KM7TACP4EVS6R4AZQC
UXN3DCGFSUY4WGTDLRL4VBHEKJT6S3LEFWQN5M6LUYZ6F3JOQHVQC
7755FHS7ZTG4YGJNFYAONWSWSM636WOWFRISDKQU2AOJHN6ZVMBAC
FYZR4C4QALFKR3QFFT2IVFRNXQ2PJC5RLHIU7DZXP6AEJHMBGUTQC
HDDRVNAGSVV7LBIMLZR2DTEUDQQX2ZENQQNPY25AFTFBBNFKARLQC
JEBJ3LS5ELXCBR224NL5R4NK6ZMHI3NGVIH2RUK4TGJP32HD3CZAC
XQ5M5ZW7TB5P6LDLZFFBR7NRMXFK4BRVGZTYM2TE224F46WUJXEAC
KSSTPMQMIZEGIULK6IY4WAZUCLJBKZWAEFIGXUU45747UKIJ3JAQC
ZSMMWIKKCDUN5TN75YREIPJKKXNICJPC5RKEGXQRWLMZVJH5H3AQC
PQ4VHORFYORAFOVK3DVQMTIS3YFLKRU5P4BFSJRMJJ3D2MOBVQHQC
S2O5JV63OPLSXOU6PZRCECAMOVEYXAEN5IIQCZV3UEQKOCF3AKTQC
5X6GHU7OPRGKRGT5PJBQOJMP3AFMM4HZQ47X5EH7DDXCTCWA6LIQC
YHNJXHEFIHKZUGR22VCEZQLWR6AADOMXN4GURZXZRXOTWEOZO7AAC
S4P2B3FPF57HPHTIAYGMPCVKB7573IB5ZBKNXVBTB6ICCPF55WNQC
eos := reader.end_of_stream()
println("headers read. eos = $eos ${headers['Content-Length']}")
println('body read begin')
body_bytes := io.read_all(reader: reader, read_to_end_of_stream: true) or { []byte{} }
println('body read $body_bytes.len bytes')
respond(conn, 200, '')
println("body_bytes len $body_bytes.len decoding")
http_body_len := headers['Content-Length'].int()
mut body_bytes := []byte{len: int(http_body_len)}
read_count := reader.read(mut body_bytes) or { 0 }
println('body read $read_count bytes. buflen $body_bytes.len bytes')
println("body $body.len $body")
body_replace := body.replace("$", "\\$")
println("body replace $body_replace")
println('body $body.len $body')
body_replace := body //.replace('\$', '_')
println('body replace $body_replace')