You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by jm...@apache.org on 2017/04/16 05:53:24 UTC
[02/12] git commit: [flex-asjs] [refs/heads/develop] - add constants
currently used by code
add constants currently used by code
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/4d09ccf5
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/4d09ccf5
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/4d09ccf5
Branch: refs/heads/develop
Commit: 4d09ccf5abd481f7ef6a01f95ed8072a75da073d
Parents: 318bdf2
Author: Justin Mclean <jm...@apache.org>
Authored: Sun Apr 16 10:39:47 2017 +1000
Committer: Justin Mclean <jm...@apache.org>
Committed: Sun Apr 16 10:39:47 2017 +1000
----------------------------------------------------------------------
.../main/flex/org/apache/flex/net/HTTPHeader.as | 23 +++++++++++++++++++-
1 file changed, 22 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/4d09ccf5/frameworks/projects/Network/src/main/flex/org/apache/flex/net/HTTPHeader.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Network/src/main/flex/org/apache/flex/net/HTTPHeader.as b/frameworks/projects/Network/src/main/flex/org/apache/flex/net/HTTPHeader.as
index 05c8760..17fc7ae 100644
--- a/frameworks/projects/Network/src/main/flex/org/apache/flex/net/HTTPHeader.as
+++ b/frameworks/projects/Network/src/main/flex/org/apache/flex/net/HTTPHeader.as
@@ -30,7 +30,7 @@ package org.apache.flex.net
{
/**
* The Content-type header.
- *
+ *
* @langversion 3.0
* @playerversion Flash 10.2
* @playerversion AIR 2.6
@@ -38,6 +38,27 @@ package org.apache.flex.net
*/
public static const CONTENT_TYPE:String = "Content-type";
+ /**
+ * The Content-length header.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ */
+ public static const CONTENT_LENGTH:String = "Content-length";
+
+
+ /**
+ * The Connection header.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ */
+ public static const CONNECTION:String = "Connection";
+
/**
* Constructor.
*