Header returns the http.Header representation of the SelectObject options.
()
| 364 | |
| 365 | // Header returns the http.Header representation of the SelectObject options. |
| 366 | func (o SelectObjectOptions) Header() http.Header { |
| 367 | headers := make(http.Header) |
| 368 | if o.ServerSideEncryption != nil && o.ServerSideEncryption.Type() == encrypt.SSEC { |
| 369 | o.ServerSideEncryption.Marshal(headers) |
| 370 | } |
| 371 | return headers |
| 372 | } |
| 373 | |
| 374 | // SelectObjectType - is the parameter which defines what type of object the |
| 375 | // operation is being performed on. |