mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Revert test changes for proxied headers when requesting pdfs from clsi
This commit is contained in:
parent
8a77d619a8
commit
f005c5e8dc
1 changed files with 1 additions and 16 deletions
|
@ -137,12 +137,7 @@ describe "CompileController", ->
|
||||||
statusCode: 204
|
statusCode: 204
|
||||||
headers: { "mock": "header" }
|
headers: { "mock": "header" }
|
||||||
@req.method = "mock-method"
|
@req.method = "mock-method"
|
||||||
@req.headers = {
|
|
||||||
'Mock': 'Headers',
|
|
||||||
'Range': 'should be passed - Range'
|
|
||||||
'If-Range': 'should be passed - If-Range'
|
|
||||||
'If-Modified-Since': 'should be passed - If-Modified-Since'
|
|
||||||
}
|
|
||||||
|
|
||||||
describe "user with standard priority", ->
|
describe "user with standard priority", ->
|
||||||
|
|
||||||
|
@ -157,11 +152,6 @@ describe "CompileController", ->
|
||||||
method: @req.method
|
method: @req.method
|
||||||
url: "#{@settings.apis.clsi.url}#{@url}",
|
url: "#{@settings.apis.clsi.url}#{@url}",
|
||||||
timeout: 60 * 1000
|
timeout: 60 * 1000
|
||||||
headers: {
|
|
||||||
'Range': 'should be passed - Range'
|
|
||||||
'If-Range': 'should be passed - If-Range'
|
|
||||||
'If-Modified-Since': 'should be passed - If-Modified-Since'
|
|
||||||
}
|
|
||||||
)
|
)
|
||||||
.should.equal true
|
.should.equal true
|
||||||
|
|
||||||
|
@ -185,11 +175,6 @@ describe "CompileController", ->
|
||||||
method: @req.method
|
method: @req.method
|
||||||
url: "#{@settings.apis.clsi_priority.url}#{@url}",
|
url: "#{@settings.apis.clsi_priority.url}#{@url}",
|
||||||
timeout: 60 * 1000
|
timeout: 60 * 1000
|
||||||
headers: {
|
|
||||||
'Range': 'should be passed - Range'
|
|
||||||
'If-Range': 'should be passed - If-Range'
|
|
||||||
'If-Modified-Since': 'should be passed - If-Modified-Since'
|
|
||||||
}
|
|
||||||
)
|
)
|
||||||
.should.equal true
|
.should.equal true
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue