Skip to content

Commit b3cb79c

Browse files
committed
Correct GET request.
1 parent 277bff3 commit b3cb79c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/java/fr/rabian/ovhApi/http/HttpRequests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public static int sendGet(String url, StringBuffer out) throws Exception {
3838
* @throws Exception Exception Occuring during the request
3939
*/
4040
public static int sendGet(String url, StringBuffer out, List<Header> headers) throws Exception {
41-
return sendWithoutBody(url, "GET", out, null);
41+
return sendWithoutBody(url, "GET", out, headers);
4242
}
4343

4444
/**

0 commit comments

Comments
 (0)