Skip to content
This repository was archived by the owner on Apr 26, 2023. It is now read-only.

Commit fedcc89

Browse files
committed
📦 1.1.2
1 parent 40237a1 commit fedcc89

File tree

6 files changed

+30
-16
lines changed

6 files changed

+30
-16
lines changed

CHANGELOG.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@ This project adheres to [Semantic Versioning](http://semver.org/).
44

55
## [Unreleased][unreleased]
66

7+
## [1.1.2] - 2017-08-21
8+
9+
### Fixed
10+
11+
- (DotNet) Appropriate request headers are now passed through [#433](https://github.com/Esri/resource-proxy/pull/433)
12+
713
## [1.1.1] - 2017-08-15
814

915
### Added
@@ -64,7 +70,8 @@ This project adheres to [Semantic Versioning](http://semver.org/).
6470

6571
- Initial public release
6672

67-
[Unreleased]: https://github.com/Esri/resource-proxy/compare/v1.1.1...HEAD
73+
[Unreleased]: https://github.com/Esri/resource-proxy/compare/v1.1.2...HEAD
74+
[1.1.2]: https://github.com/Esri/resource-proxy/compare/v1.1.1...v1.1.2
6875
[1.1.1]: https://github.com/Esri/resource-proxy/compare/v1.1.0...v1.1.1
6976
[1.1.0]: https://github.com/Esri/resource-proxy/compare/v1.0...v1.1.0
7077
[1.0]: https://github.com/Esri/resource-proxy/compare/v0.9...v1.0

DotNet/proxy.ashx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
/*
44
* DotNet proxy client.
55
*
6-
* Version 1.1.1
6+
* Version 1.1.2
77
* See https://github.com/Esri/resource-proxy for more information.
88
*
99
*/
@@ -21,7 +21,7 @@ using System.Net;
2121

2222
public class proxy : IHttpHandler {
2323

24-
private static String version = "1.1.1";
24+
private static String version = "1.1.2";
2525

2626
class RateMeter {
2727
double _rate; //internal rate is stored in requests per second
@@ -557,7 +557,7 @@ public class proxy : IHttpHandler {
557557
}
558558

559559
private System.Net.HttpWebRequest createHTTPRequest(string uri, string method, string contentType, System.Net.NetworkCredential credentials = null)
560-
{
560+
{
561561
ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12;
562562
System.Net.HttpWebRequest req = (System.Net.HttpWebRequest)System.Net.HttpWebRequest.Create(uri);
563563
req.ServicePoint.Expect100Continue = false;

Java/proxy.jsp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,12 @@ java.text.SimpleDateFormat" %>
3535
*
3636
* JSP proxy client
3737
*
38-
* Version 1.1.1
38+
* Version 1.1.2
3939
* See https://github.com/Esri/resource-proxy for more information.
4040
*
4141
----------------------------------------------------------- -->
4242

43-
<%! final String version = "1.1.1"; %>
43+
<%! final String version = "1.1.2"; %>
4444

4545
<%!
4646
public static final class DataValidUtil {
@@ -166,19 +166,19 @@ java.text.SimpleDateFormat" %>
166166
// TODO: make this configurable
167167
if (headerFieldKey != null && headerFieldKey.toLowerCase().equals("content-type")){
168168
if (value != null && value.toLowerCase().contains("application/vnd.ogc.wms_xml")){
169-
_log(Level.FINE, "Adjusting Content-Type for WMS OGC: " + value);
169+
_log(Level.FINE, "Adjusting Content-Type for WMS OGC: " + value);
170170
value = "text/xml";
171171
}
172172
}
173-
173+
174174
// remove Transfer-Encoding/chunked to the client
175175
// StackOverflow http://stackoverflow.com/questions/31452074/how-to-proxy-http-requests-in-spring-mvc
176176
if (headerFieldKey != null && headerFieldKey.toLowerCase().equals("transfer-encoding")) {
177177
if (value != null && value.toLowerCase().equals("chunked")) {
178178
continue;
179179
}
180180
}
181-
181+
182182
sb.append(value);
183183
sb.append("");
184184
}
File renamed without changes.

PHP/proxy.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@
33
/**
44
* PHP Proxy Client
55
*
6-
* Version 1.1.1
6+
* Version 1.1.2
77
* See https://github.com/Esri/resource-proxy for more information.
88
*
99
*/
1010

11-
$version = "1.1.1";
11+
$version = "1.1.2";
1212

1313
error_reporting(0);
1414

README.md

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -107,14 +107,21 @@ Found a bug or want to request a new feature? Check out previously logged [Issue
107107

108108
Esri welcomes [contributions](CONTRIBUTING.md) from anyone and everyone. Please see our [guidelines for contributing](https://github.com/esri/contributing).
109109

110-
## Licensing
110+
## License
111111

112-
Copyright 2014 Esri
112+
Copyright 2017 Esri
113113

114114
Licensed under the Apache License, Version 2.0 (the "License");
115-
You may not use this file except in compliance with the License.
115+
you may not use this file except in compliance with the License.
116116
You may obtain a copy of the License at
117-
http://www.apache.org/licenses/LICENSE-2.0
118117

119-
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" basis, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for specific language governing permissions and limitations under the license.
118+
> http://www.apache.org/licenses/LICENSE-2.0
119+
120+
Unless required by applicable law or agreed to in writing, software
121+
distributed under the License is distributed on an "AS IS" BASIS,
122+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
123+
See the License for the specific language governing permissions and
124+
limitations under the License.
125+
126+
A copy of the license is available in the repository's [LICENSE](./LICENSE) file.
120127

0 commit comments

Comments
 (0)