Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
timoj committed Jul 30, 2018
1 parent 705295b commit ebde3e4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
composer.phar
.idea
.idea
tests
4 changes: 2 additions & 2 deletions src/Wuunder/Http/Request.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public function __construct($url, $apiKey)
$this->apiKey = $apiKey;
}

abstract protected function send();
abstract protected function seParcelshopsApiResponsend();

/**
* Returns the whole response from a response
Expand All @@ -33,7 +33,7 @@ public function getResponse() {
* @return $result (body)
*/
public function getBody() {
return substr($this->result, strpos($this->result, "\r\n\r\n"));
return substr($this->result, $this->headerSize);
}

/**
Expand Down

0 comments on commit ebde3e4

Please sign in to comment.