4
* (c) Copyright 2012-2014 Hewlett-Packard Development Company, L.P.
5
* (c) Copyright 2014 Rackspace US, Inc.
7
* Licensed under the Apache License, Version 2.0 (the "License"); you may
8
* not use this file except in compliance with the License. You may obtain
9
* a copy of the License at
11
* http://www.apache.org/licenses/LICENSE-2.0
13
* Unless required by applicable law or agreed to in writing, software
14
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
15
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
16
* License for the specific language governing permissions and limitations
20
namespace OpenStack\Common\Transport\Exception;
23
* Exception that represents a 411 Length Required HTTP error.
25
* This class is thrown when a server refused to accept the request without a
26
* defined Content-Length or Content-Type header. For example, this might occur
27
* when uploading an object without the necessary Content- headers.
29
class LengthRequiredException extends RequestException
b'\\ No newline at end of file'