Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
J
jquery
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
夏彬
jquery
Commits
62da89b8
Commit
62da89b8
authored
Aug 19, 2013
by
Timmy Willison
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert "Close php tags for ajax tests on swarm"
This reverts commit
f6e86c3c
.
parent
f6e86c3c
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
8 deletions
+2
-8
errorWithJSON.php
test/data/errorWithJSON.php
+1
-3
errorWithText.php
test/data/errorWithText.php
+1
-3
headers.php
test/data/headers.php
+0
-2
No files found.
test/data/errorWithJSON.php
View file @
62da89b8
...
@@ -3,6 +3,4 @@
...
@@ -3,6 +3,4 @@
header
(
"HTTP/1.0 400 Bad Request"
);
header
(
"HTTP/1.0 400 Bad Request"
);
header
(
"Content-Type: application/json"
);
header
(
"Content-Type: application/json"
);
echo
'{ "code": 40, "message": "Bad Request" }'
;
echo
'{ "code": 40, "message": "Bad Request" }'
;
\ No newline at end of file
?>
\ No newline at end of file
test/data/errorWithText.php
View file @
62da89b8
...
@@ -2,6 +2,4 @@
...
@@ -2,6 +2,4 @@
header
(
"HTTP/1.0 400 Bad Request"
);
header
(
"HTTP/1.0 400 Bad Request"
);
echo
"plain text message"
;
echo
"plain text message"
;
\ No newline at end of file
?>
\ No newline at end of file
test/data/headers.php
View file @
62da89b8
...
@@ -16,5 +16,3 @@ foreach( $_SERVER as $key => $value ) {
...
@@ -16,5 +16,3 @@ foreach( $_SERVER as $key => $value ) {
foreach
(
explode
(
"_"
,
$_GET
[
"keys"
]
)
as
$key
)
{
foreach
(
explode
(
"_"
,
$_GET
[
"keys"
]
)
as
$key
)
{
echo
"
$key
: "
.
@
$headers
[
strtoupper
(
$key
)
]
.
"
\n
"
;
echo
"
$key
: "
.
@
$headers
[
strtoupper
(
$key
)
]
.
"
\n
"
;
}
}
?>
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment