aboutsummaryrefslogtreecommitdiff
path: root/testdata/apiTargetRunHTTP_withTargetHeaders_test.txt
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2024-02-18 18:27:59 +0700
committerShulhan <ms@kilabit.info>2024-02-18 18:27:59 +0700
commite89e0f0857a1d3a6f3079bbecea45a255df431f0 (patch)
treeaace2a707a89af37cee25abb1cedeb6f8b51993c /testdata/apiTargetRunHTTP_withTargetHeaders_test.txt
parent8d27c8b6fa922fbb90bde8ba3675abf535d12422 (diff)
downloadgorankusu-e89e0f0857a1d3a6f3079bbecea45a255df431f0.tar.xz
example: add POST header that can return custom HTTP response code
In some cases we found that if the HTTP response code is 202 the JSON response body is not indented. Turns out this is caused by HTTP Content-Type in response is "text/plain". Closes: https://todo.sr.ht/~shulhan/gorankusu/6
Diffstat (limited to 'testdata/apiTargetRunHTTP_withTargetHeaders_test.txt')
0 files changed, 0 insertions, 0 deletions