-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi guys,
I am using the testing framework and extending JerseyTest.
Now I create a POST like that:
resource().path( "users" ).accept( MediaType.APPLICATION_XML ).post(
String.class, newUser );
That works as expected.
My resource returns 201 and the location of the newly created user. Now
I'd like to test this link within my tests.
But I don't find a way to get the header information. Any hints how to
solve that?
Thanks,
Johannes
- --
Johannes Schneider - blog.cedarsoft.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
iQEcBAEBAgAGBQJMe4zJAAoJEAytD9R7Qv6djRgH/jJ1ju5C6CZ5y4qBG/foPBA7
ipwFpNfw3f9Ubh4zXasIGaS9t96+B5KAPIUqKnBnNjPB4DvhUfT8IZE8LIpMTxrB
L+qxj8j9qf2HFUU/NY30dV6HuXCTO9rP/MkhwwMI5T/bawEYWQldhm/LMgCb9pJQ
B1gbliWxRhjKjluvNSZnmPzB0cbPvNmjNhgj6rVWJev1XHXfdtVEnUnWSfa62T1Z
JzzXt4zAoavZeOhHcOLrQaonupuIv8aCWPnH47Ac9NlqrupyqATN+YJ6j7rwdVfb
AO9y5fWEESx4k8vjwyb2+5JpJO8nk/v7FLwqIDzn8XFBo3GhZ71SWQlfkTFPDlw=
=c0Xo
-----END PGP SIGNATURE-----