- GitHub Staff
- http://jeffwidman.com/
- in/jeffwidman
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# The problem is that from time to time the GitHub issue import API returns a status url for the issue import | |
# that when I check that status url, I get a 404 response. | |
# Below is an example of a request/response pair that came back with a status url that 404'd: | |
# All of these requests use the header = {'Accept': 'application/vnd.github.golden-comet-preview+json'} | |
# Also I authenticate via my username/personal access token. | |
# Neither the header nor the auth should pose a problem because it successfuly imports dozens of issues before | |
# hitting any issues. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
from flask import Flask, render_template | |
app = Flask(__name__) | |
@app.route('/') | |
def index(): | |
return render_template('index.html') |
- By Edmond Lau
- Highly Recommended 👍
- http://www.theeffectiveengineer.com/
- They are the people who get things done. Effective Engineers produce results.