Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitfb4e1f1

Browse files
author
Felipe Zimmerle
committed
tests: Adds random data to a post making it workable in nginx
For some reason nginx fails in a post with no body. This patch adds some randomdata here. Other platforms should not be affected.
1 parent450d621 commitfb4e1f1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

‎tests/regression/target/00-targets.t‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -285,6 +285,10 @@
285285
},
286286
request=>new HTTP::Request(
287287
POST=>"http://$ENV{SERVER_NAME}:$ENV{SERVER_PORT}/test.txt?arg1=val1&arg2=val2",
288+
[
289+
"Content-Type"=>"application/x-www-form-urlencoded",
290+
],
291+
"a=b",
288292
),
289293
},
290294
{

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp