Skip to content

[ASI-1039] Only set cache-control header on /ipfs/ route success response - #2721

Closed
SidSethi wants to merge 3 commits into
ss-getcid-unit-testsfrom
ss-getCID-cache-control
Closed

[ASI-1039] Only set cache-control header on /ipfs/ route success response#2721
SidSethi wants to merge 3 commits into
ss-getcid-unit-testsfrom
ss-getCID-cache-control

Conversation

@SidSethi

Copy link
Copy Markdown
Contributor

Description

Tests

How will this change be monitored? Are there sufficient logs?

@SidSethi
SidSethi changed the base branch from master to ss-getcid-unit-testsMarch 17, 2022 19:20
}

module.exports.getCID = getCID
module.exports.streamFromFileSystem = streamFromFileSystem

Copy link
Copy Markdown
ContributorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

removed since never consumed exteranlly

if (end >= stat.size) {
// Set "Requested Range Not Satisfiable" header and exit
// Return "Requested Range Not Satisfiable" error
res.status(416)

Copy link
Copy Markdown
ContributorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just moving line from below

@SidSethiSidSethi changed the title Only set cache-control header on /ipfs/ route success response[ASI-912] Only set cache-control header on /ipfs/ route success responseMar 30, 2022
@SidSethiSidSethi changed the title [ASI-912] Only set cache-control header on /ipfs/ route success response[ASI-1039] Only set cache-control header on /ipfs/ route success responseApr 11, 2022
@SidSethi

Copy link
Copy Markdown
ContributorAuthor

closed in favor of #3322

@SidSethi
SidSethi deleted the ss-getCID-cache-control branch June 27, 2022 20:36
@AudiusProjectAudiusProject deleted a comment from linearBotSep 11, 2023
@AudiusProjectAudiusProject deleted a comment from linearBotSep 11, 2023
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

@SidSethi