| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:060d032d-6b69-6da8-d09e-dc303bd18df2 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 8F42:8119F:1A2637D:2245B6B:69645BD9 |
| html-safe-nonce | 6cc9002b587a5f5f8dcb34e00c21b682803e0317b6512af35205659f890123d4 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RjQyOjgxMTlGOjFBMjYzN0Q6MjI0NUI2Qjo2OTY0NUJEOSIsInZpc2l0b3JfaWQiOiI0ODkzNjMwOTkzOTExMjIzOTMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 62ad22f66dc727e199a15e1be357d0a54ca5eb715aca4056f8c9a82cdc432d7a |
| hovercard-subject-tag | pull_request:937530259 |
| 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 | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/googleapis/google-api-python-client/1802/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/40d814245463e4e32c493744b88c253bd81506eee2786addab897ca5a4df9600/googleapis/google-api-python-client/pull/1802 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/40d814245463e4e32c493744b88c253bd81506eee2786addab897ca5a4df9600/googleapis/google-api-python-client/pull/1802 |
| og:image:alt | For an upload that inherits the MediaUpload class and is not a stream,
if the size of the upload is exact multiples of the chunksize, the last
chunk would be empty and the generated Content-Range h... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | john0312 |
| hostname | github.com |
| expected-hostname | github.com |
| None | baa7d9900fdf7b27d604f36887af878d569cfbdcf97126832a5f4f0caf0c6ba5 |
| turbo-cache-control | no-preview |
| go-import | github.com/googleapis/google-api-python-client git https://github.com/googleapis/google-api-python-client.git |
| octolytics-dimension-user_id | 16785467 |
| octolytics-dimension-user_login | googleapis |
| octolytics-dimension-repository_id | 15749269 |
| octolytics-dimension-repository_nwo | googleapis/google-api-python-client |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 15749269 |
| octolytics-dimension-repository_network_root_nwo | googleapis/google-api-python-client |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 842eff1d11f899d02b6b3b98fa3ea4860e64b34e |
| ui-target | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/googleapis/google-api-python-client/pull/1802#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgoogleapis%2Fgoogle-api-python-client%2Fpull%2F1802 |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub SparkBuild and deploy intelligent apps | https://github.com/features/spark |
| GitHub ModelsManage and compare prompts | https://github.com/features/models |
| 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 |
| GitHub SponsorsFund open source developers | https://github.com/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/accelerator |
| 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/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%2Fgoogleapis%2Fgoogle-api-python-client%2Fpull%2F1802 |
|
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%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=googleapis%2Fgoogle-api-python-client |
| Reload | https://github.com/googleapis/google-api-python-client/pull/1802 |
| Reload | https://github.com/googleapis/google-api-python-client/pull/1802 |
| Reload | https://github.com/googleapis/google-api-python-client/pull/1802 |
|
googleapis
| https://github.com/googleapis |
| google-api-python-client | https://github.com/googleapis/google-api-python-client |
|
Notifications
| https://github.com/login?return_to=%2Fgoogleapis%2Fgoogle-api-python-client |
|
Fork
2.5k
| https://github.com/login?return_to=%2Fgoogleapis%2Fgoogle-api-python-client |
|
Star
8.7k
| https://github.com/login?return_to=%2Fgoogleapis%2Fgoogle-api-python-client |
|
Code
| https://github.com/googleapis/google-api-python-client |
|
Issues
158
| https://github.com/googleapis/google-api-python-client/issues |
|
Pull requests
22
| https://github.com/googleapis/google-api-python-client/pulls |
|
Discussions
| https://github.com/googleapis/google-api-python-client/discussions |
|
Actions
| https://github.com/googleapis/google-api-python-client/actions |
|
Projects
0
| https://github.com/googleapis/google-api-python-client/projects |
|
Security
Uh oh!
There was an error while loading. Please reload this page.
| https://github.com/googleapis/google-api-python-client/security |
| Please reload this page | https://github.com/googleapis/google-api-python-client/pull/1802 |
|
Insights
| https://github.com/googleapis/google-api-python-client/pulse |
|
Code
| https://github.com/googleapis/google-api-python-client |
|
Issues
| https://github.com/googleapis/google-api-python-client/issues |
|
Pull requests
| https://github.com/googleapis/google-api-python-client/pulls |
|
Discussions
| https://github.com/googleapis/google-api-python-client/discussions |
|
Actions
| https://github.com/googleapis/google-api-python-client/actions |
|
Projects
| https://github.com/googleapis/google-api-python-client/projects |
|
Security
| https://github.com/googleapis/google-api-python-client/security |
|
Insights
| https://github.com/googleapis/google-api-python-client/pulse |
| Sign up for GitHub
| https://github.com/signup?return_to=%2Fgoogleapis%2Fgoogle-api-python-client%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=%2Fgoogleapis%2Fgoogle-api-python-client%2Fissues%2Fnew%2Fchoose |
| Jump to bottom | https://github.com/googleapis/google-api-python-client/pull/1802#issue-comment-box |
| john0312 | https://github.com/john0312 |
| googleapis:main | https://github.com/googleapis/google-api-python-client/tree/main |
| john0312:fix-empty-last-chunk | https://github.com/john0312/google-api-python-client/tree/fix-empty-last-chunk |
|
fix: Empty last chunk case in resumable upload that is not a stream
| https://github.com/googleapis/google-api-python-client/pull/1802#top |
| john0312 | https://github.com/john0312 |
| googleapis:main | https://github.com/googleapis/google-api-python-client/tree/main |
| john0312:fix-empty-last-chunk | https://github.com/john0312/google-api-python-client/tree/fix-empty-last-chunk |
|
Conversation
3
| https://github.com/googleapis/google-api-python-client/pull/1802 |
|
Commits
2
| https://github.com/googleapis/google-api-python-client/pull/1802/commits |
|
Checks
4
| https://github.com/googleapis/google-api-python-client/pull/1802/checks |
|
Files changed
| https://github.com/googleapis/google-api-python-client/pull/1802/files |
| Please reload this page | https://github.com/googleapis/google-api-python-client/pull/1802 |
| https://github.co/hiddenchars |
| https://github.com/googleapis/google-api-python-client/pull/{{ revealButtonHref }} |
|
| https://github.com/john0312 |
| john0312 | https://github.com/john0312 |
| May 16, 2022 | https://github.com/googleapis/google-api-python-client/pull/1802#issue-1237194784 |
| #1801 | https://github.com/googleapis/google-api-python-client/issues/1801 |
| Please reload this page | https://github.com/googleapis/google-api-python-client/pull/1802 |
|
| https://github.com/john0312 |
| fix: Empty last chunk case in resumable upload that is not a stream | https://github.com/googleapis/google-api-python-client/pull/1802/commits/31e19678665be5d0c8473734e5004251060e0199 |
| 31e1967 | https://github.com/googleapis/google-api-python-client/pull/1802/commits/31e19678665be5d0c8473734e5004251060e0199 |
| https://github.com/john0312 |
| john0312 | https://github.com/john0312 |
| code owner | https://github.com/googleapis/google-api-python-client/blob/024aa3782a35c569cfb94308bd61f785e37d5ae2/.github/CODEOWNERS#L8 |
| May 16, 2022 13:51 | https://github.com/googleapis/google-api-python-client/pull/1802#event-6616361760 |
| https://github.com/apps/product-auto-label |
| product-auto-label | https://github.com/apps/product-auto-label |
|
size: s
| https://github.com/googleapis/google-api-python-client/issues?q=state%3Aopen%20label%3A%22size%3A%20s%22 |
| May 16, 2022 | https://github.com/googleapis/google-api-python-client/pull/1802#event-6616362136 |
| https://github.com/parthea |
| parthea | https://github.com/parthea |
| May 17, 2022 | https://github.com/googleapis/google-api-python-client/pull/1802#event-6624257338 |
| https://github.com/Blessed4eva |
| Blessed4eva | https://github.com/Blessed4eva |
| Aug 18, 2022 | https://github.com/googleapis/google-api-python-client/pull/1802#issuecomment-1219011897 |
| MediaUpload with has_stream() = False and an empty last chunk results in HTTP Error 400 #1801 | https://github.com/googleapis/google-api-python-client/issues/1801 |
| Please reload this page | https://github.com/googleapis/google-api-python-client/pull/1802 |
| https://github.com/Blessed4eva |
| Blessed4eva | https://github.com/Blessed4eva |
|
Aug 18, 2022
| https://github.com/googleapis/google-api-python-client/pull/1802#pullrequestreview-1076665474 |
|
View reviewed changes
| https://github.com/googleapis/google-api-python-client/pull/1802/files/1f7f16033b37ff2686c3876eb83e3ca434d07407 |
| https://github.com/parthea |
| parthea | https://github.com/parthea |
| Oct 25, 2024 | https://github.com/googleapis/google-api-python-client/pull/1802#event-14875485082 |
|
| https://github.com/chalmerlowe |
| Merge branch 'main' into fix-empty-last-chunk | https://github.com/googleapis/google-api-python-client/pull/1802/commits/1f7f16033b37ff2686c3876eb83e3ca434d07407 |
| 1f7f160 | https://github.com/googleapis/google-api-python-client/pull/1802/commits/1f7f16033b37ff2686c3876eb83e3ca434d07407 |
| https://github.com/chalmerlowe |
| chalmerlowe | https://github.com/chalmerlowe |
| code owner | https://github.com/googleapis/google-api-python-client/blob/a1fd6f358f475a17612fe374502666581d571a8c/.github/CODEOWNERS#L8 |
| December 11, 2025 16:32 | https://github.com/googleapis/google-api-python-client/pull/1802#event-21508770842 |
| https://github.com/chalmerlowe |
| chalmerlowe | https://github.com/chalmerlowe |
|
kokoro:force-run
| https://github.com/googleapis/google-api-python-client/issues?q=state%3Aopen%20label%3Akokoro%3Aforce-run |
| Dec 11, 2025 | https://github.com/googleapis/google-api-python-client/pull/1802#event-21509003322 |
| https://github.com/yoshi-kokoro |
| yoshi-kokoro | https://github.com/yoshi-kokoro |
|
kokoro:force-run
| https://github.com/googleapis/google-api-python-client/issues?q=state%3Aopen%20label%3Akokoro%3Aforce-run |
| Dec 11, 2025 | https://github.com/googleapis/google-api-python-client/pull/1802#event-21509014639 |
| https://github.com/chalmerlowe |
| chalmerlowe | https://github.com/chalmerlowe |
|
Dec 11, 2025
| https://github.com/googleapis/google-api-python-client/pull/1802#pullrequestreview-3568557704 |
|
View reviewed changes
| https://github.com/googleapis/google-api-python-client/pull/1802/files/1f7f16033b37ff2686c3876eb83e3ca434d07407 |
| chalmerlowe | https://github.com/chalmerlowe |
| https://github.com/googleapis/google-api-python-client/pull/1802#pullrequestreview-3568557704 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/googleapis/google-api-python-client/pull/1802 |
| https://github.com/salomankevin655-beep |
| salomankevin655-beep | https://github.com/salomankevin655-beep |
|
Dec 11, 2025
| https://github.com/googleapis/google-api-python-client/pull/1802#pullrequestreview-3569007969 |
|
View reviewed changes
| https://github.com/googleapis/google-api-python-client/pull/1802/files/1f7f16033b37ff2686c3876eb83e3ca434d07407 |
| https://github.com/vchudnov-g |
| vchudnov-g | https://github.com/vchudnov-g |
|
Dec 11, 2025
| https://github.com/googleapis/google-api-python-client/pull/1802#pullrequestreview-3569031000 |
|
View reviewed changes
| https://github.com/googleapis/google-api-python-client/pull/1802/files/1f7f16033b37ff2686c3876eb83e3ca434d07407 |
| googleapiclient/http.py | https://github.com/googleapis/google-api-python-client/pull/1802/files/1f7f16033b37ff2686c3876eb83e3ca434d07407#diff-e492230da11e54b269c88852dc3b74a37cae746493f8d7ad91bc273ecf6b10fd |
| vchudnov-g | https://github.com/vchudnov-g |
| Dec 11, 2025 | https://github.com/googleapis/google-api-python-client/pull/1802#discussion_r2611848521 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/googleapis/google-api-python-client/pull/1802 |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in to comment | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgoogleapis%2Fgoogle-api-python-client%2Fpull%2F1802 |
|
| https://github.com/vchudnov-g |
|
vchudnov-g
| https://github.com/vchudnov-g |
|
| https://github.com/googleapis/google-api-python-client/pull/1802/files/1f7f16033b37ff2686c3876eb83e3ca434d07407 |
|
| https://github.com/chalmerlowe |
|
chalmerlowe
| https://github.com/chalmerlowe |
|
| https://github.com/googleapis/google-api-python-client/pull/1802/files/1f7f16033b37ff2686c3876eb83e3ca434d07407 |
|
| https://github.com/Blessed4eva |
|
Blessed4eva
| https://github.com/Blessed4eva |
|
| https://github.com/googleapis/google-api-python-client/pull/1802/files/1f7f16033b37ff2686c3876eb83e3ca434d07407 |
|
| https://github.com/salomankevin655-beep |
|
salomankevin655-beep
| https://github.com/salomankevin655-beep |
|
| https://github.com/googleapis/google-api-python-client/pull/1802/files/1f7f16033b37ff2686c3876eb83e3ca434d07407 |
|
size: s
| https://github.com/googleapis/google-api-python-client/issues?q=state%3Aopen%20label%3A%22size%3A%20s%22 |
|
MediaUpload with has_stream() = False and an empty last chunk results in HTTP Error 400
| https://github.com/googleapis/google-api-python-client/issues/1801 |
| Please reload this page | https://github.com/googleapis/google-api-python-client/pull/1802 |
|
| https://github.com/john0312 |
|
| https://github.com/Blessed4eva |
|
| https://github.com/vchudnov-g |
|
| https://github.com/chalmerlowe |
|
| https://github.com/salomankevin655-beep |
|
| https://github.com/parthea |
|
| https://github.com/yoshi-kokoro |
|
| 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 |