mirror of
https://github.com/OMGeeky/google-apis-rs.git
synced 2026-02-23 15:49:49 +01:00
fix(mbuild): upload size now taken properly
Previously, it would query the size from the wrong dict and obtain the value 0 all the time. This would have made every upload fail with `UploadSizeLimitExeeded`. Now we obtain the actual size limit, and will ignore it if unset/0 for some reason. Patch += 1
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
// This file was generated automatically from 'src/mako/lib.rs.mako'
|
||||
// DO NOT EDIT !
|
||||
|
||||
//! This documentation was generated from *Identity Toolkit* crate version *0.1.0+20141009*, where *20141009* is the exact revision of the *identitytoolkit:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v0.1.0*.
|
||||
//! This documentation was generated from *Identity Toolkit* crate version *0.1.1+20141009*, where *20141009* is the exact revision of the *identitytoolkit:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v0.1.1*.
|
||||
//!
|
||||
//! Everything else about the *Identity Toolkit* *v3* API can be found at the
|
||||
//! [official documentation site](https://developers.google.com/identity-toolkit/v3/).
|
||||
@@ -277,7 +277,7 @@ impl<'a, C, NC, A> IdentityToolkit<C, NC, A>
|
||||
IdentityToolkit {
|
||||
client: RefCell::new(client),
|
||||
auth: RefCell::new(authenticator),
|
||||
_user_agent: "google-api-rust-client/0.1.0".to_string(),
|
||||
_user_agent: "google-api-rust-client/0.1.1".to_string(),
|
||||
_m: PhantomData
|
||||
}
|
||||
}
|
||||
@@ -287,7 +287,7 @@ impl<'a, C, NC, A> IdentityToolkit<C, NC, A>
|
||||
}
|
||||
|
||||
/// Set the user-agent header field to use in all requests to the server.
|
||||
/// It defaults to `google-api-rust-client/0.1.0`.
|
||||
/// It defaults to `google-api-rust-client/0.1.1`.
|
||||
///
|
||||
/// Returns the previously set user-agent.
|
||||
pub fn user_agent(&mut self, agent_name: String) -> String {
|
||||
|
||||
Reference in New Issue
Block a user