@@ -60,6 +60,7 @@ Feature: Create-Retrieve-Update-Delete
60
60
Then the response status code should be 200
61
61
And the response should be in JSON
62
62
And the header "Content-Type" should be equal to "application/ld+json; charset=utf-8"
63
+ And the header "Content-Location" should not exist
63
64
And the JSON should be equal to:
64
65
"""
65
66
{
@@ -100,13 +101,14 @@ Feature: Create-Retrieve-Update-Delete
100
101
Scenario : Get a not found exception
101
102
When I send a "GET" request to "/dummies/42"
102
103
Then the response status code should be 404
104
+ And the header "Content-Location" should not exist
103
105
104
106
Scenario : Get a collection
105
107
When I send a "GET" request to "/dummies"
106
108
Then the response status code should be 200
107
109
And the response should be in JSON
108
110
And the header "Content-Type" should be equal to "application/ld+json; charset=utf-8"
109
- And the header "Content-Location" should be equal to "/dummies.jsonld"
111
+ And the header "Content-Location" should not exist
110
112
And the JSON should be equal to:
111
113
"""
112
114
{
@@ -616,6 +618,7 @@ Feature: Create-Retrieve-Update-Delete
616
618
Then the response status code should be 200
617
619
And the response should be in JSON
618
620
And the header "Content-Type" should be equal to "application/ld+json; charset=utf-8"
621
+ And the header "Content-Location" should not exist
619
622
And the JSON should be equal to:
620
623
"""
621
624
{
@@ -640,6 +643,7 @@ Feature: Create-Retrieve-Update-Delete
640
643
Then the response status code should be 200
641
644
And the response should be in JSON
642
645
And the header "Content-Type" should be equal to "application/ld+json; charset=utf-8"
646
+ And the header "Content-Location" should not exist
643
647
And the JSON should be equal to:
644
648
"""
645
649
{
@@ -657,6 +661,7 @@ Feature: Create-Retrieve-Update-Delete
657
661
Then the response status code should be 200
658
662
And the response should be in JSON
659
663
And the header "Content-Type" should be equal to "application/ld+json; charset=utf-8"
664
+ And the header "Content-Location" should not exist
660
665
And the JSON should be equal to:
661
666
"""
662
667
{
@@ -676,6 +681,7 @@ Feature: Create-Retrieve-Update-Delete
676
681
Then the response status code should be 200
677
682
And the response should be in JSON
678
683
And the header "Content-Type" should be equal to "application/ld+json; charset=utf-8"
684
+ And the header "Content-Location" should not exist
679
685
And the JSON should be equal to:
680
686
"""
681
687
{
@@ -718,6 +724,7 @@ Feature: Create-Retrieve-Update-Delete
718
724
Then the response status code should be 200
719
725
And the response should be in JSON
720
726
And the header "Content-Type" should be equal to "application/ld+json; charset=utf-8"
727
+ And the header "Content-Location" should not exist
721
728
And the JSON should be equal to:
722
729
"""
723
730
{
@@ -737,6 +744,7 @@ Feature: Create-Retrieve-Update-Delete
737
744
Then the response status code should be 200
738
745
And the response should be in JSON
739
746
And the header "Content-Type" should be equal to "application/ld+json; charset=utf-8"
747
+ And the header "Content-Location" should not exist
740
748
And the JSON should be equal to:
741
749
"""
742
750
{
0 commit comments