server/mock_response.rb in mirage-3.0.0.alpha.2 vs server/mock_response.rb in mirage-3.0.0.alpha.3
- old
+ new
@@ -172,9 +172,13 @@
@binary = BinaryDataChecker.contains_binary_data? @response_spec['body']
MockResponse.add self
end
+ def headers
+ @response_spec['headers']
+ end
+
def default?
@response_spec["default"]
end
def score
\ No newline at end of file