Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 8,662 for hTTP (0.05 sec)

  1. cmd/bucket-lifecycle-handlers_test.go

    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"bytes"
    	"encoding/xml"
    	"net/http"
    	"net/http/httptest"
    	"testing"
    
    	"github.com/minio/minio/internal/auth"
    )
    
    // Test S3 Bucket lifecycle APIs with wrong credentials
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  2. docs/fr/docs/index.md

    Ouvrez votre navigateur à l'adresse <a href="http://127.0.0.1:8000/items/5?q=somequery" class="external-link" target="_blank">http://127.0.0.1:8000/items/5?q=somequery</a>.
    
    Vous obtenez alors cette réponse <abbr title="JavaScript Object Notation">JSON</abbr> :
    
    ```JSON
    {"item_id": 5, "q": "somequery"}
    ```
    
    Vous venez de créer une API qui :
    
    * Reçoit les requêtes HTTP pour les _chemins_ `/` et `/items/{item_id}`.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 20 19:20:23 UTC 2024
    - 22K bytes
    - Viewed (0)
  3. docs/zh-hant/docs/index.md

    </details>
    
    ### 檢查
    
    使用瀏覽器開啟 <a href="http://127.0.0.1:8000/items/5?q=somequery" class="external-link" target="_blank">http://127.0.0.1:8000/items/5?q=somequery</a>。
    
    你將會看到以下的 JSON 回應:
    
    ```JSON
    {"item_id": 5, "q": "somequery"}
    ```
    
    你已經建立了一個具有以下功能的 API:
    
    - 透過路徑 `/` 和 `/items/{item_id}` 接受 HTTP 請求。
    - 以上路經都接受 `GET` 請求(也被稱為 HTTP _方法_)。
    - 路徑 `/items/{item_id}` 有一個 `int` 型別的 `item_id` 參數。
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 20 19:20:23 UTC 2024
    - 18.8K bytes
    - Viewed (0)
  4. internal/config/lambda/event/event.go

    // GNU Affero General Public License for more details.
    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package event
    
    import "net/http"
    
    // Identity represents access key who caused the event.
    type Identity struct {
    	Type        string `json:"type"`
    	PrincipalID string `json:"principalId"`
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Mar 07 16:12:41 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  5. internal/rest/client_test.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package rest
    
    import (
    	"errors"
    	"net"
    	"net/url"
    	"testing"
    )
    
    func TestNetworkError_Unwrap(t *testing.T) {
    	tests := []struct {
    		name   string
    		err    error
    		target interface{}
    		want   bool
    	}{
    		{
    			name:   "url.Error",
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Nov 16 17:28:29 UTC 2021
    - 1.9K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/internal/http2/HpackTest.kt

            "GET",
            ":scheme",
            "http",
            ":path",
            "/",
            ":authority",
            "www.example.com",
          ),
        )
      }
    
      private fun secondRequestWithoutHuffman() {
        bytesIn.writeByte(0x82) // == Indexed - Add ==
        // idx = 2 -> :method: GET
        bytesIn.writeByte(0x86) // == Indexed - Add ==
        // idx = 7 -> :scheme: http
        bytesIn.writeByte(0x84) // == Indexed - Add ==
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 38.2K bytes
    - Viewed (0)
  7. cmd/handler-api.go

    	defer t.mu.RUnlock()
    
    	if t.requestsPool == nil {
    		return nil
    	}
    
    	return t.requestsPool
    }
    
    // maxClients throttles the S3 API calls
    func maxClients(f http.HandlerFunc) http.HandlerFunc {
    	return func(w http.ResponseWriter, r *http.Request) {
    		globalHTTPStats.incS3RequestsIncoming()
    
    		if r.Header.Get(globalObjectPerfUserMetadata) == "" {
    			if val := globalServiceFreeze.Load(); val != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 26 17:07:10 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  8. mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/MockWebServerTest.kt

          val expectedReason = reasons[i / 100]
          assertThat(response.status).isEqualTo("HTTP/1.1 $i $expectedReason")
          assertThat(headersToList(response)).containsExactly("Content-Length: 0")
        }
      }
    
      @Test
      fun setStatusControlsWholeStatusLine() {
        val response = MockResponse().setStatus("HTTP/1.1 202 That'll do pig")
        assertThat(headersToList(response)).containsExactly("Content-Length: 0")
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  9. cmd/handler-utils.go

    		if enc != streamingContentEncoding {
    			newEncs = append(newEncs, enc)
    		}
    	}
    	return strings.Join(newEncs, ",")
    }
    
    func collectInternodeStats(f http.HandlerFunc) http.HandlerFunc {
    	return func(w http.ResponseWriter, r *http.Request) {
    		f.ServeHTTP(w, r)
    
    		tc, ok := r.Context().Value(mcontext.ContextTraceKey).(*mcontext.TraceCtxt)
    		if !ok || tc == nil {
    			return
    		}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  10. fess-crawler/src/test/resources/org/codelibs/fess/crawler/helper/robots.txt

    User-agent: Crawler
    Disallow: /aaa
    
    User-agent: Crawler/1.0
    Disallow: /bbb
    
    User-agent: Crawler/2.0
    Disallow: /ccc
    
    User-agent: Hoge Crawler
    Disallow: /ddd
    
    sitemap: http://www.example.com/sitmap.xml
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sun Oct 11 02:16:55 UTC 2015
    - 566 bytes
    - Viewed (0)
Back to top