| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:28b8366a-3b78-3025-5c06-872806756bd5 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | D2B6:7A008:C9BB9:114DFB:6A590F9B |
| html-safe-nonce | d71339e0517b9f235d25cd91244d5fbcb07e950add779b7edd0bb8e2b340b5e0 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMkI2OjdBMDA4OkM5QkI5OjExNERGQjo2QTU5MEY5QiIsInZpc2l0b3JfaWQiOiI3MjI2NzE5MDQ3ODQ0OTU4MTA4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 6ab991329b8ba82c1a926ee2bbce171ea1893b3df92bcc2babfa53b78fbf82df |
| hovercard-subject-tag | pull_request:255639025 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///pull_requests/show/files |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/RustPython/RustPython/pull/531/files |
| twitter:image | https://avatars.githubusercontent.com/u/33094578?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/33094578?s=400&v=4 |
| og:image:alt | Includes the fetch builtin I was working on in #267. |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4eb8ea312922ccce63e833964f9606d971cffb2d5b6c10a62c4a7dcc48d826e2 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/RustPython/RustPython git https://github.com/RustPython/RustPython.git |
| octolytics-dimension-user_id | 39710557 |
| octolytics-dimension-user_login | RustPython |
| octolytics-dimension-repository_id | 135201145 |
| octolytics-dimension-repository_nwo | RustPython/RustPython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 135201145 |
| octolytics-dimension-repository_network_root_nwo | RustPython/RustPython |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 886a6c6fbce3d3caad5b3b995ef09ff6ca23f10e |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/RustPython/RustPython/pull/531/files#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FRustPython%2FRustPython%2Fpull%2F531%2Ffiles |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub Copilot appDirect agents from issue to merge | https://github.com/features/ai/github-app |
| MCP RegistryNewIntegrate external tools | https://github.com/mcp |
| ActionsAutomate any workflow | https://github.com/features/actions |
| CodespacesInstant dev environments | https://github.com/features/codespaces |
| IssuesPlan and track work | https://github.com/features/issues |
| Code ReviewManage code changes | https://github.com/features/code-review |
| GitHub Advanced SecurityFind and fix vulnerabilities | https://github.com/security/advanced-security |
| Code securitySecure your code as you build | https://github.com/security/advanced-security/code-security |
| Secret protectionStop leaks before they start | https://github.com/security/advanced-security/secret-protection |
| Why GitHub | https://github.com/why-github |
| Documentation | https://docs.github.com |
| Blog | https://github.blog |
| Changelog | https://github.blog/changelog |
| Marketplace | https://github.com/marketplace |
| View all features | https://github.com/features |
| Enterprises | https://github.com/enterprise |
| Small and medium teams | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| App Modernization | https://github.com/solutions/use-case/app-modernization |
| DevSecOps | https://github.com/solutions/use-case/devsecops |
| DevOps | https://github.com/solutions/use-case/devops |
| CI/CD | https://github.com/solutions/use-case/ci-cd |
| View all use cases | https://github.com/solutions/use-case |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| View all industries | https://github.com/solutions/industry |
| View all solutions | https://github.com/solutions |
| AI | https://github.com/resources/articles?topic=ai |
| Software Development | https://github.com/resources/articles?topic=software-development |
| DevOps | https://github.com/resources/articles?topic=devops |
| Security | https://github.com/resources/articles?topic=security |
| View all topics | https://github.com/resources/articles |
| Customer stories | https://github.com/customer-stories |
| Events & webinars | https://github.com/resources/events |
| Ebooks & reports | https://github.com/resources/whitepapers |
| Business insights | https://github.com/solutions/executive-insights |
| GitHub Skills | https://skills.github.com |
| Documentation | https://docs.github.com |
| Customer support | https://support.github.com |
| Community forum | https://github.com/orgs/community/discussions |
| Trust center | https://github.com/trust-center |
| Partners | https://github.com/partners |
| View all resources | https://github.com/resources |
| GitHub SponsorsFund open source developers | https://github.com/open-source/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/open-source/accelerator |
| GitHub Stars | https://stars.github.com |
| Archive Program | https://archiveprogram.github.com |
| Topics | https://github.com/topics |
| Trending | https://github.com/trending |
| Collections | https://github.com/collections |
| Enterprise platformAI-powered developer platform | https://github.com/enterprise |
| GitHub Advanced SecurityEnterprise-grade security features | https://github.com/security/advanced-security |
| Copilot for BusinessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Pricing | https://github.com/pricing |
| Search syntax tips | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
| documentation | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FRustPython%2FRustPython%2Fpull%2F531%2Ffiles |
|
Sign up
| https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=RustPython%2FRustPython |
| Reload | https://github.com/RustPython/RustPython/pull/531/files |
| Reload | https://github.com/RustPython/RustPython/pull/531/files |
| Reload | https://github.com/RustPython/RustPython/pull/531/files |
| Please reload this page | https://github.com/RustPython/RustPython/pull/531/files |
|
RustPython
| https://github.com/RustPython |
| RustPython | https://github.com/RustPython/RustPython |
|
Notifications
| https://github.com/login?return_to=%2FRustPython%2FRustPython |
|
Fork
1.5k
| https://github.com/login?return_to=%2FRustPython%2FRustPython |
|
Star
22.2k
| https://github.com/login?return_to=%2FRustPython%2FRustPython |
|
Code
| https://github.com/RustPython/RustPython |
|
Issues
287
| https://github.com/RustPython/RustPython/issues |
|
Pull requests
100
| https://github.com/RustPython/RustPython/pulls |
|
Discussions
| https://github.com/RustPython/RustPython/discussions |
|
Actions
| https://github.com/RustPython/RustPython/actions |
|
Projects
| https://github.com/RustPython/RustPython/projects |
|
Models
| https://github.com/RustPython/RustPython/models |
|
Wiki
| https://github.com/RustPython/RustPython/wiki |
|
Security and quality
0
| https://github.com/RustPython/RustPython/security |
|
Insights
| https://github.com/RustPython/RustPython/pulse |
|
Code
| https://github.com/RustPython/RustPython |
|
Issues
| https://github.com/RustPython/RustPython/issues |
|
Pull requests
| https://github.com/RustPython/RustPython/pulls |
|
Discussions
| https://github.com/RustPython/RustPython/discussions |
|
Actions
| https://github.com/RustPython/RustPython/actions |
|
Projects
| https://github.com/RustPython/RustPython/projects |
|
Models
| https://github.com/RustPython/RustPython/models |
|
Wiki
| https://github.com/RustPython/RustPython/wiki |
|
Security and quality
| https://github.com/RustPython/RustPython/security |
|
Insights
| https://github.com/RustPython/RustPython/pulse |
| Sign up for GitHub
| https://github.com/signup?return_to=%2FRustPython%2FRustPython%2Fissues%2Fnew%2Fchoose |
| terms of service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://github.com/login?return_to=%2FRustPython%2FRustPython%2Fissues%2Fnew%2Fchoose |
| windelbouwman | https://github.com/windelbouwman |
| RustPython:master | https://github.com/RustPython/RustPython/tree/master |
| coolreader18:wasm-fetch-builtin | https://github.com/coolreader18/RustPython/tree/wasm-fetch-builtin |
|
Conversation
1
| https://github.com/RustPython/RustPython/pull/531 |
|
Commits
10
| https://github.com/RustPython/RustPython/pull/531/commits |
|
Checks
0
| https://github.com/RustPython/RustPython/pull/531/checks |
|
Files changed
| https://github.com/RustPython/RustPython/pull/531/files |
| Please reload this page | https://github.com/RustPython/RustPython/pull/531/files |
|
[WASM] Add a browser module
| https://github.com/RustPython/RustPython/pull/531/files#top |
|
Show all changes
10 commits
| https://github.com/RustPython/RustPython/pull/531/files |
|
9c0bcc2
Re-add WASM fetch builtin
coolreader18 Feb 18, 2019
| https://github.com/RustPython/RustPython/pull/531/commits/9c0bcc2bd7277627159b3c6fddd2c00d91f2fae6 |
|
4edca21
Convert some fetch options to kwargs, add PyFuncArgs method
coolreader18 Feb 18, 2019
| https://github.com/RustPython/RustPython/pull/531/commits/4edca2121d8d20d458aee8e1e1ba9d1f18cc6cfd |
|
92a3733
Add body option to fetch
coolreader18 Feb 18, 2019
| https://github.com/RustPython/RustPython/pull/531/commits/92a37335413f48d96f45453abe2512118d40b219 |
|
d716313
Add content_type option to headers
coolreader18 Feb 18, 2019
| https://github.com/RustPython/RustPython/pull/531/commits/d7163132831be7231b52115d74bc8110c71ac85b |
|
5a472e4
Merge branch 'master' into wasm-fetch-builtin
coolreader18 Feb 23, 2019
| https://github.com/RustPython/RustPython/pull/531/commits/5a472e46aa837da491391058bc699ca04085befa |
|
fd184a1
Add a WASM browser module with fetch() available
coolreader18 Feb 23, 2019
| https://github.com/RustPython/RustPython/pull/531/commits/fd184a1e68f2d2c91498c111c34fd32eb8595a60 |
|
ff66bb6
Follow clippy's advice
coolreader18 Feb 23, 2019
| https://github.com/RustPython/RustPython/pull/531/commits/ff66bb602e44d8460a3f4fef27f4fee6c508688f |
|
7f626b5
Merge branch 'master' into wasm-fetch-builtin
coolreader18 Feb 23, 2019
| https://github.com/RustPython/RustPython/pull/531/commits/7f626b50b9148ed3ac1b31148b06c1d35333fda2 |
|
2b9adfe
Add fetch demo snippet
coolreader18 Feb 23, 2019
| https://github.com/RustPython/RustPython/pull/531/commits/2b9adfea8a35789d5c4dd0056a76dba1c963c08b |
|
9d99f94
Add!
coolreader18 Feb 23, 2019
| https://github.com/RustPython/RustPython/pull/531/commits/9d99f94a3fd1a671d7e533437bf308193af0c7f7 |
|
Clear filters
| https://github.com/RustPython/RustPython/pull/531/files |
| Please reload this page | https://github.com/RustPython/RustPython/pull/531/files |
| Please reload this page | https://github.com/RustPython/RustPython/pull/531/files |
|
macros.rs
| https://github.com/RustPython/RustPython/pull/531/files#diff-26c6c9a12cfcb9d44bac0d05964e3c10097fbc9d5509fd6b92375be349f5bb6e |
|
pyobject.rs
| https://github.com/RustPython/RustPython/pull/531/files#diff-84524dac95852f23d03df0b427c833911eb825066c10e1bbeac03a99db0d5caa |
|
fetch.py
| https://github.com/RustPython/RustPython/pull/531/files#diff-090dc276b6fde3e1b4ad8b26fb57b10b8b835e30f10fb9774ba417b077467743 |
|
browser_module.rs
| https://github.com/RustPython/RustPython/pull/531/files#diff-c8d9b34d7525fec271bfdb24a62509510961023857b1f0197863faa60049b37d |
|
lib.rs
| https://github.com/RustPython/RustPython/pull/531/files#diff-5b2fe130c78e8244ea0478ecf740f35aaf6700751778249236d35aea6a08b850 |
|
vm_class.rs
| https://github.com/RustPython/RustPython/pull/531/files#diff-30ece91325961148e59f39663d0039971a03ffac73a45b6e0543645af23629c9 |
|
wasm_builtins.rs
| https://github.com/RustPython/RustPython/pull/531/files#diff-e962e23e2e09c1d51e23f6b1e25768413ba975ae32ca467f77e1484d1cda5de7 |
| vm/src/macros.rs | https://github.com/RustPython/RustPython/pull/531/files#diff-26c6c9a12cfcb9d44bac0d05964e3c10097fbc9d5509fd6b92375be349f5bb6e |
|
View file
| https://github.com/coolreader18/RustPython/blob/9d99f94a3fd1a671d7e533437bf308193af0c7f7/vm/src/macros.rs |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/RustPython/RustPython/pull/531/{{ revealButtonHref }} |
|
| https://github.com/RustPython/RustPython/pull/531/files#diff-26c6c9a12cfcb9d44bac0d05964e3c10097fbc9d5509fd6b92375be349f5bb6e |
|
| https://github.com/RustPython/RustPython/pull/531/files#diff-26c6c9a12cfcb9d44bac0d05964e3c10097fbc9d5509fd6b92375be349f5bb6e |
| vm/src/pyobject.rs | https://github.com/RustPython/RustPython/pull/531/files#diff-84524dac95852f23d03df0b427c833911eb825066c10e1bbeac03a99db0d5caa |
|
View file
| https://github.com/coolreader18/RustPython/blob/9d99f94a3fd1a671d7e533437bf308193af0c7f7/vm/src/pyobject.rs |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/RustPython/RustPython/pull/531/{{ revealButtonHref }} |
|
| https://github.com/RustPython/RustPython/pull/531/files#diff-84524dac95852f23d03df0b427c833911eb825066c10e1bbeac03a99db0d5caa |
|
| https://github.com/RustPython/RustPython/pull/531/files#diff-84524dac95852f23d03df0b427c833911eb825066c10e1bbeac03a99db0d5caa |
| wasm/demo/snippets/fetch.py | https://github.com/RustPython/RustPython/pull/531/files#diff-090dc276b6fde3e1b4ad8b26fb57b10b8b835e30f10fb9774ba417b077467743 |
|
View file
| https://github.com/coolreader18/RustPython/blob/9d99f94a3fd1a671d7e533437bf308193af0c7f7/wasm/demo/snippets/fetch.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/RustPython/RustPython/pull/531/{{ revealButtonHref }} |
| wasm/lib/src/browser_module.rs | https://github.com/RustPython/RustPython/pull/531/files#diff-c8d9b34d7525fec271bfdb24a62509510961023857b1f0197863faa60049b37d |
|
View file
| https://github.com/coolreader18/RustPython/blob/9d99f94a3fd1a671d7e533437bf308193af0c7f7/wasm/lib/src/browser_module.rs |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/RustPython/RustPython/pull/531/{{ revealButtonHref }} |
| wasm/lib/src/lib.rs | https://github.com/RustPython/RustPython/pull/531/files#diff-5b2fe130c78e8244ea0478ecf740f35aaf6700751778249236d35aea6a08b850 |
|
View file
| https://github.com/coolreader18/RustPython/blob/9d99f94a3fd1a671d7e533437bf308193af0c7f7/wasm/lib/src/lib.rs |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/RustPython/RustPython/pull/531/{{ revealButtonHref }} |
|
| https://github.com/RustPython/RustPython/pull/531/files#diff-5b2fe130c78e8244ea0478ecf740f35aaf6700751778249236d35aea6a08b850 |
| wasm/lib/src/vm_class.rs | https://github.com/RustPython/RustPython/pull/531/files#diff-30ece91325961148e59f39663d0039971a03ffac73a45b6e0543645af23629c9 |
|
View file
| https://github.com/coolreader18/RustPython/blob/9d99f94a3fd1a671d7e533437bf308193af0c7f7/wasm/lib/src/vm_class.rs |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/RustPython/RustPython/pull/531/{{ revealButtonHref }} |
|
| https://github.com/RustPython/RustPython/pull/531/files#diff-30ece91325961148e59f39663d0039971a03ffac73a45b6e0543645af23629c9 |
|
| https://github.com/RustPython/RustPython/pull/531/files#diff-30ece91325961148e59f39663d0039971a03ffac73a45b6e0543645af23629c9 |
|
| https://github.com/RustPython/RustPython/pull/531/files#diff-30ece91325961148e59f39663d0039971a03ffac73a45b6e0543645af23629c9 |
| wasm/lib/src/wasm_builtins.rs | https://github.com/RustPython/RustPython/pull/531/files#diff-e962e23e2e09c1d51e23f6b1e25768413ba975ae32ca467f77e1484d1cda5de7 |
|
View file
| https://github.com/coolreader18/RustPython/blob/9d99f94a3fd1a671d7e533437bf308193af0c7f7/wasm/lib/src/wasm_builtins.rs |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/RustPython/RustPython/pull/531/{{ revealButtonHref }} |
|
| https://github.com/RustPython/RustPython/pull/531/files#diff-e962e23e2e09c1d51e23f6b1e25768413ba975ae32ca467f77e1484d1cda5de7 |
|
| https://github.com/RustPython/RustPython/pull/531/files#diff-e962e23e2e09c1d51e23f6b1e25768413ba975ae32ca467f77e1484d1cda5de7 |
|
| https://github.com/RustPython/RustPython/pull/531/files#diff-e962e23e2e09c1d51e23f6b1e25768413ba975ae32ca467f77e1484d1cda5de7 |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |