Sha256: 0b195e7b7b1b65a214d36a10a536ca58a4a3e321ff9e03ea647332fafb63db3b

Contents?: true

Size: 632 Bytes

Versions: 26

Compression:

Stored size: 632 Bytes

Contents

require 'openid/yadis/accept'

module OpenID

  module Yadis

    YADIS_HEADER_NAME = 'X-XRDS-Location'
    YADIS_CONTENT_TYPE = 'application/xrds+xml'

    # A value suitable for using as an accept header when performing
    # YADIS discovery, unless the application has special requirements
    YADIS_ACCEPT_HEADER = generate_accept_header(
                                                 ['text/html', 0.3],
                                                 ['application/xhtml+xml', 0.5],
                                                 [YADIS_CONTENT_TYPE, 1.0]
                                                 )

  end

end

Version data entries

26 entries across 26 versions & 4 rubygems

Version Path
ruby-openid-2.9.2 lib/openid/yadis/constants.rb
ruby-openid-2.9.1 lib/openid/yadis/constants.rb
ruby-openid-2.8.0 lib/openid/yadis/constants.rb
ruby-openid-2.7.0 lib/openid/yadis/constants.rb
ruby-openid-2.6.0 lib/openid/yadis/constants.rb
pelle-ruby-openid-2.1.8 lib/openid/yadis/constants.rb
ruby-openid-2.5.0 lib/openid/yadis/constants.rb
ruby-openid-2.4.0 lib/openid/yadis/constants.rb
ruby-openid-2.3.0 lib/openid/yadis/constants.rb
ruby-openid-2.2.3 lib/openid/yadis/constants.rb
ruby-openid-2.2.2 lib/openid/yadis/constants.rb
ruby-openid-2.2.1 lib/openid/yadis/constants.rb
ruby-openid-2.2.0 lib/openid/yadis/constants.rb
entp-ruby-openid-2.2 lib/openid/yadis/constants.rb
nov-ruby-openid-2.1.9 lib/openid/yadis/constants.rb
ruby-openid-2.1.8 lib/openid/yadis/constants.rb
pelle-ruby-openid-2.1.9 lib/openid/yadis/constants.rb
ruby-openid-2.1.7 lib/openid/yadis/constants.rb
ruby-openid-2.0.1 lib/openid/yadis/constants.rb
ruby-openid-2.0.2 lib/openid/yadis/constants.rb