flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aha...@apache.org
Subject git commit: [flex-utilities] [refs/heads/develop] - try setting user client so GitHub returns etag on Windows (does on mac)
Date Tue, 29 Jul 2014 20:06:46 GMT
Repository: flex-utilities
Updated Branches:
  refs/heads/develop 61521c565 -> b2c1e8d9d


try setting user client so GitHub returns etag on Windows (does on mac)


Project: http://git-wip-us.apache.org/repos/asf/flex-utilities/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-utilities/commit/b2c1e8d9
Tree: http://git-wip-us.apache.org/repos/asf/flex-utilities/tree/b2c1e8d9
Diff: http://git-wip-us.apache.org/repos/asf/flex-utilities/diff/b2c1e8d9

Branch: refs/heads/develop
Commit: b2c1e8d9dd1e9dadd0f0822da38d261acb88c54d
Parents: 61521c5
Author: Alex Harui <aharui@apache.org>
Authored: Tue Jul 29 13:06:34 2014 -0700
Committer: Alex Harui <aharui@apache.org>
Committed: Tue Jul 29 13:06:34 2014 -0700

----------------------------------------------------------------------
 MD5Checker/src/MD5Checker.mxml | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/b2c1e8d9/MD5Checker/src/MD5Checker.mxml
----------------------------------------------------------------------
diff --git a/MD5Checker/src/MD5Checker.mxml b/MD5Checker/src/MD5Checker.mxml
index 9171cb9..df51465 100644
--- a/MD5Checker/src/MD5Checker.mxml
+++ b/MD5Checker/src/MD5Checker.mxml
@@ -181,6 +181,7 @@ limitations under the License.
                 urlRequest.followRedirects = true;
                 urlRequest.cacheResponse = false;
                 urlRequest.method = URLRequestMethod.HEAD;
+                urlRequest.userAgent = "Java";
                 urlHeadLoader.dataFormat = URLLoaderDataFormat.BINARY;
                 urlHeadLoader.addEventListener(Event.COMPLETE, headcompleteHandler);
                 urlHeadLoader.addEventListener(HTTPStatusEvent.HTTP_RESPONSE_STATUS,headstatusHandler);


Mime
View raw message