diff --git a/src/Guzzle/Parser/Message/MessageParser.php b/src/Guzzle/Parser/Message/MessageParser.php index 10474006..efc1aa32 100644 --- a/src/Guzzle/Parser/Message/MessageParser.php +++ b/src/Guzzle/Parser/Message/MessageParser.php @@ -33,7 +33,7 @@ public function parseRequest($message) 'body' => $parts['body'] ); - $parsed['request_url'] = $this->getUrlPartsFromMessage($parts['start_line'][1], $parsed); + $parsed['request_url'] = $this->getUrlPartsFromMessage(isset($parts['start_line'][1]) ? $parts['start_line'][1] : '' , $parsed); return $parsed; }