summaryrefslogtreecommitdiff
path: root/ext/flash/01_http.js
diff options
context:
space:
mode:
Diffstat (limited to 'ext/flash/01_http.js')
-rw-r--r--ext/flash/01_http.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/flash/01_http.js b/ext/flash/01_http.js
index 789979ff9..17f99ca98 100644
--- a/ext/flash/01_http.js
+++ b/ext/flash/01_http.js
@@ -152,7 +152,8 @@
}
// MUST NOT send Content-Length or Transfer-Encoding if status code is 1xx or 204.
- if (status == 204 && status <= 100) {
+ if (status === 204 || status < 200) {
+ str += "\r\n";
return str;
}