mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-09 06:28:28 +03:00
Return location header in error of #79
DAV[DATA]: PROPFIND /.well-known/carddav INFO[NOTICE]: SnappyMail\HTTP\Exception: 301 Moved Permanently
This commit is contained in:
parent
118d996d3c
commit
5f153aeb8d
1 changed files with 1 additions and 1 deletions
|
|
@ -113,7 +113,7 @@ class Client
|
|||
'Content-Type: application/xml'
|
||||
));
|
||||
if (300 <= $response->status) {
|
||||
throw new \SnappyMail\HTTP\Exception('', $response->status);
|
||||
throw new \SnappyMail\HTTP\Exception('', $response->status, $response);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue