GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Use lower-case gRPC header keys by yang-g · Pull Request #2212 · googleapis/google-cloud-python

Conversation

@yang-g

@yang-g yang-g commented Aug 26, 2016

Copy link
Copy Markdown
Contributor

As upper-case letters are illegal per http2 spec.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@yang-g
Use lower-case gRPC header keys
9f787b2
As upper-case letters are illegal per http2 spec.
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Aug 26, 2016
@yang-g

yang-g commented Aug 27, 2016

Copy link
Copy Markdown
Contributor Author

#2204

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@tseaver tseaver added the grpc label Aug 27, 2016
@yang-g
Update test
eebb83a
@tseaver

tseaver commented Aug 27, 2016

Copy link
Copy Markdown
Contributor

@yang-g Thanks for the fix! Travis is going to barf whenever it gets around to running, because the unit tests assert the upper-case field names:

======================================================================
FAIL: test___call__ (gcloud.test__helpers.TestMetadataPlugin)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/tseaver/projects/agendaless/Google/src/gcloud-python/gcloud/test__helpers.py", line 845, in test___call__
    self.assertEqual(callback_args, [(cb_headers, None)])
AssertionError: Lists differ: [([('authorization', 'Bearer F... != [([('Authorization', 'Bearer F...

First differing element 0:
([('authorization', 'Bearer FOOBARBAZ'), ('user-agent', 'USER_AGENT')], None)
([('Authorization', 'Bearer FOOBARBAZ'), ('User-agent', 'USER_AGENT')], None)

- [([('authorization', 'Bearer FOOBARBAZ'), ('user-agent', 'USER_AGENT')], None)]
?      ^                                      ^

+ [([('Authorization', 'Bearer FOOBARBAZ'), ('User-agent', 'USER_AGENT')], None)]
?      ^                                      ^

Can you please update the PR accordingly?

@dhermes, @daspecster For future reference, here is the HTTP/2 spec reference which mandates lower-case for header field names (I was completely unaware of that requirement).

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@tseaver

tseaver commented Aug 27, 2016

Copy link
Copy Markdown
Contributor

I cancelled the not-yet-started Travis build after verifying that it would fail.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@yang-g

yang-g commented Aug 27, 2016

Copy link
Copy Markdown
Contributor Author

@tseaver I pushed eebb83a about the same time of your comment. I did a search and did not find anything else. Could you restart the travis-ci or point me to more places to fix? Thanks.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@tseaver

tseaver commented Aug 27, 2016

Copy link
Copy Markdown
Contributor

@yang-g I restarted the build. Sorry for my haste in cancelling -- Travis has been so glacially slow lately that we've been minimizing "known broken" jobs in the queue.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@dhermes

dhermes commented Aug 27, 2016

Copy link
Copy Markdown
Contributor

@tseaver I think Travis have sorted out their issues

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@tseaver
tseaver merged commit a5594a7 into googleapis:master Aug 27, 2016
@tseaver

tseaver commented Aug 27, 2016

Copy link
Copy Markdown
Contributor

@yang-g Thank you again!

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

This was referenced Aug 30, 2016
Need to ensure we use lower-case gRPC header keys googleapis/google-cloud-java#1213
Closed
Need to ensure we use lower-case gRPC header keys googleapis/google-cloud-go#334
Closed
Need to ensure we use lower-case gRPC header keys googleapis/google-cloud-dotnet#342
Closed
Need to ensure we use lower-case gRPC header keys googleapis/google-cloud-node#1545
Closed
Verify case of headers googleapis/google-cloud-ruby#870
Closed
Need to ensure we use lower-case gRPC header keys googleapis/google-cloud-php#123
Closed
@dhermes dhermes mentioned this pull request Sep 19, 2016
Cut 0.19.0 release. #2270
Merged
parthea pushed a commit that referenced this pull request Nov 24, 2025
@ohmayr
fix: add default library settings for incorrect lib version (#2212)
842e324
parthea pushed a commit that referenced this pull request Mar 6, 2026
@chalmerlowe
test: remove pragma (#2212)
b9e053d
* test: remove pragma

* test: remove comment about pragma

* updates to conditionals related to pandas 2.0+ tests
parthea pushed a commit that referenced this pull request Apr 1, 2026
@tswast
fix: simplify UnsupportedTypeError message (#2212)
f0eef96
* fix: simplify UnsupportedTypeError message

* relax assertion
parthea pushed a commit that referenced this pull request Apr 1, 2026
@release-please
chore(main): release 2.29.0 (#2242)
a69afc4
🤖 I have created a release *beep* *boop*
---


##
[2.29.0](google/bigframes@v2.28.0...v2.29.0)
(2025-11-10)


### Features

* Add bigframes.bigquery.st_regionstats to join raster data from Earth
Engine
([#2228](google/bigframes#2228))
([10ec52f](google/bigframes@10ec52f))
* Add DataFrame.resample and Series.resample
([#2213](google/bigframes#2213))
([c9ca02c](google/bigframes@c9ca02c))
* SQL Cell no longer escapes formatted string values
([#2245](google/bigframes#2245))
([d2d38f9](google/bigframes@d2d38f9))
* Support left_index and right_index for merge
([#2220](google/bigframes#2220))
([da9ba26](google/bigframes@da9ba26))


### Bug Fixes

* Correctly iterate over null struct values in ManagedArrowTable
([#2209](google/bigframes#2209))
([12e04d5](google/bigframes@12e04d5))
* Simplify UnsupportedTypeError message
([#2212](google/bigframes#2212))
([6c9a18d](google/bigframes@6c9a18d))
* Support results with STRUCT and ARRAY columns containing JSON
subfields in `to_pandas_batches()`
([#2216](google/bigframes#2216))
([3d8b17f](google/bigframes@3d8b17f))


### Documentation

* Switch API reference docs to pydata theme
([#2237](google/bigframes#2237))
([9b86dcf](google/bigframes@9b86dcf))
* Update notebook for JSON subfields support in to_pandas_batches()
([#2138](google/bigframes#2138))
([5663d2a](google/bigframes@5663d2a))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

cla: yes This human has signed the Contributor License Agreement. grpc

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

4 participants

@yang-g @tseaver @dhermes @googlebot
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.