Skip to content

Commit c92b191

Browse files
committed
Default port should be 80
1 parent 2bcfc8e commit c92b191

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

com/manavo/rest/RestRequest.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,9 @@ public class RestRequest {
8888
public RestRequest() {
8989
this.requestContext = new BasicHttpContext();
9090
this.httpClient = this.getNewHttpClient();
91+
92+
// Default port to be 80
93+
this.port = 80;
9194
}
9295

9396
public void setContentType(String type) {
@@ -368,4 +371,4 @@ public Socket createSocket() throws IOException {
368371
}
369372
}
370373

371-
}
374+
}

0 commit comments

Comments
 (0)