http server: lighttpd 1.4.45
my curl cmd is:
RES=`curl -L -s -k -v --request POST \
--url "https://127.0.0.1/file" \
--header 'Cache-Control: no-cache' \
--header 'Accept-Encoding: gzip, deflate, br' \
--header 'Content-Type: multipart/form-data;' \
--header 'Connection: keep-alive' \
--header 'X-Requested-With: XMLHttpRequest' \
--progress-bar \
-F "file=@$FileName;type=application/octet-stream;filename=$FileName" --compressed`
7.29.0 it status is 200, but 7.61.1 it return 500 (status: 500 (Internal Server Error))
does anyone know what makes this different ??
Rsp of 7.61.1 is
* Done waiting for 100-continue
} [5 bytes data]
######################################################################### 100.0%< HTTP/1.1 200 OK
< Cache-Control: no-store, no-cache, must-revalidate, private
< Pragma: no-cache
< X-Content-Type-Options: nosniff
< X-XSS-Protection: 1; mode=block
< Content-Security-Policy: default-src 'self';object-src 'none';connect-src *;style-src 'self';script-src 'self'; img-src 'self' blob:;frame-ancestors 'self';font-src 'self'
< Strict-Transport-Security: max-age=31536000; includeSubDomains; preload
< Content-Type: application/json
< Transfer-Encoding: chunked
< Date: Fri, 20 Aug 2021 14:58:00 GMT
< Server: lighttpd
<
{ [5 bytes data]
######################################################################### 100.0%* Connection #0 to host 127.0.0.1 left intact
status: 500 (Internal Server Error) { "cc": -1 }
it is because lighttpd ?? How can I going to debug it ??