Included page: .RestFixtureTests.SetUp (edit)
| script | smartrics.rest.test.fitnesse.fixture.HttpServerFixture | |
| check | is started | true |
| reset resources database | ||
Head requests should return no-body but the headers list should match that of the equivalent GET operation.
| Table: Rest Fixture | http://localhost:9876 | |||
| GET | 200 |
Content-Length : [\d+] expected Set-Cookie : JID="ABC.${a.y}"; Content-Type : application/xml;charset=ISO-8859-1 Content-Length : 183 Server : Jetty(6.0.2) actual |
<resource> <name>a funky name</name> <data>an important message</data> <nstag xmlns:ns1='http://smartrics/ns1'> <ns1:number>3</ns1:number> </nstag> </resource> |
|
| let | length | header | Content-Length:(.+) |
183 |
| let | type | header | Content-Type:(.+) |
application/xml;charset=ISO-8859-1 |
| HEAD | 200 |
Content-Length : %length% expected Set-Cookie : JID="ABC.${a.y}"; Content-Type : application/xml;charset=ISO-8859-1 Content-Length : 183 Server : Jetty(6.0.2) actual |
no-body |
|
| HEAD | 200 |
Content-Type: %type% expected Set-Cookie : JID="ABC.${a.y}"; Content-Type : application/xml;charset=ISO-8859-1 Content-Length : 183 Server : Jetty(6.0.2) actual |
no-body |
|