File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -56,11 +56,11 @@ def test_api(self):
56
56
we are going to test if headers and body are returned correctly"""
57
57
# Test as a whole
58
58
response = str (self .server .handleRequest ())
59
- expected = 'Content-Type: text/xml; charset=utf-8\n Content-Length: 206 \n \n <ServiceExceptionReport version="1.3.0" xmlns="http://www.opengis.net/ogc">\n <ServiceException code="Service configuration error">Service unknown or unsupported</ServiceException>\n </ServiceExceptionReport>\n '
59
+ expected = 'Content-Length: 206 \n Content- Type: text/xml; charset=utf-8\n \n <ServiceExceptionReport version="1.3.0" xmlns="http://www.opengis.net/ogc">\n <ServiceException code="Service configuration error">Service unknown or unsupported</ServiceException>\n </ServiceExceptionReport>\n '
60
60
self .assertEqual (response , expected )
61
61
# Test header
62
62
response = str (self .server .handleRequestGetHeaders ())
63
- expected = 'Content-Type: text/xml; charset=utf-8\n Content-Length: 206 \n \n '
63
+ expected = 'Content-Length: 206 \n Content- Type: text/xml; charset=utf-8\n \n '
64
64
self .assertEqual (response , expected )
65
65
# Test body
66
66
response = str (self .server .handleRequestGetBody ())
Original file line number Diff line number Diff line change 1
- Content-Type: text/xml; charset=utf-8
2
1
Content-Length: 5250
2
+ Content-Type: text/xml; charset=utf-8
3
3
4
4
<?xml version="1.0" encoding="utf-8"?>
5
5
<WMS_Capabilities xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.3" xmlns="http://www.opengis.net/wms" xsi:schemaLocation="http://www.opengis.net/wms http://schemas.opengis.net/wms/1.3.0/capabilities_1_3_0.xsd http://www.opengis.net/sld http://schemas.opengis.net/sld/1.1.0/sld_capabilities.xsd http://www.qgis.org/wms http:?MAP=/home/ale/dev/QGIS/tests/testdata/qgis_server/testproject.qgs&SERVICE=WMS&REQUEST=GetSchemaExtension" xmlns:sld="http://www.opengis.net/sld" xmlns:qgs="http://www.qgis.org/wms">
Original file line number Diff line number Diff line change 1
- Content-Type: text/xml; charset=utf-8
2
1
Content-Length: 6268
2
+ Content-Type: text/xml; charset=utf-8
3
3
4
4
<?xml version="1.0" encoding="utf-8"?>
5
5
<WMS_Capabilities xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.3.0" xmlns="http://www.opengis.net/wms" xsi:schemaLocation="http://www.opengis.net/wms http://schemas.opengis.net/wms/1.3.0/capabilities_1_3_0.xsd http://www.opengis.net/sld http://schemas.opengis.net/sld/1.1.0/sld_capabilities.xsd http://www.qgis.org/wms http:?MAP=/home/ale/dev/QGIS/tests/testdata/qgis_server/testproject.qgs&SERVICE=WMS&REQUEST=GetSchemaExtension" xmlns:sld="http://www.opengis.net/sld" xmlns:qgs="http://www.qgis.org/wms">
You can’t perform that action at this time.
0 commit comments