Comments (2)
This is actually an upstream deployment bug (and possibly a regression).
[tw-mbp-zbuhman ~]$ curl -D- https://ptpb.pw/KT9s
HTTP/1.1 404 NOT FOUND
Server: openresty/1.13.6.2
Date: Thu, 16 Aug 2018 17:17:41 GMT
Content-Type: text/plain; charset=utf-8
Content-Length: 18
Connection: keep-alive
Vary: Accept
ETag: "paste-5afca108921db93306efb8ad002ffbf42ec867b6"
Cache-Control: max-age=43200, public
X-Varnish: 6661816
Age: 0
Via: 1.1 varnish-v4
status: not found
The problem here is pb told varnish that the response is cacheable, and varnish caches the 404 accordingly. sunset
and/or pbpst
's involvement in this is a red herring.
I had thought this was being handled correctly as of years ago, but clearly it is not.
from pbpst.
I mostly use pbpst with sunset and almost never with curl and pb which is why I made misleading conclusion. Since it's pb deployment problem , I'm going to close it now.
from pbpst.
Related Issues (20)
- pbpst says "Paste deleted" even when you pass it a silly UUID
- doc/pbpst.rst line 220+225 indentation errors? HOT 1
- Passing --provider and URL without the '/' suffix gives an invalid link HOT 2
- Allow files bigger than 64MiB HOT 9
- i18n HOT 6
- Provide an option to add pastes to the DB HOT 1
- Teach -x time unit shortcuts HOT 11
- Errors on use of stderr HOT 5
- Use of non-Async-Signal-Safe functions in signal handler
- Does it support authentication HOT 5
- Failing to build on x64 Linux with clang 3.9.1 HOT 1
- UUID HOT 10
- Issue on Musl HOT 1
- Could not create paste: HTTP response code said error HOT 9
- Don't use tup HOT 1
- Conditionally use sys/syslimits.h for macOS HOT 1
- pbpst does not work with stdin HOT 6
- How can I build a static pbpst
- Request for new release HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pbpst.