passenger 5.0.4 → 5.0.5
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of passenger might be problematic. Click here for more details.
- checksums.yaml +8 -8
- checksums.yaml.gz.asc +7 -7
- data.tar.gz.asc +7 -7
- data/.editorconfig +10 -0
- data/CHANGELOG +21 -0
- data/build/agents.rb +2 -2
- data/build/apache2.rb +6 -5
- data/build/common_library.rb +22 -7
- data/build/cxx_tests.rb +0 -3
- data/build/misc.rb +1 -1
- data/dev/parse_file_descriptor_log +119 -0
- data/doc/CloudLicensingConfiguration.html +387 -0
- data/doc/Design and Architecture.html +2430 -0
- data/doc/Packaging.html +488 -0
- data/doc/Security of user switching support.html +1833 -0
- data/doc/ServerOptimizationGuide.html +659 -0
- data/doc/ServerOptimizationGuide.txt.md +8 -0
- data/doc/Users guide Apache.html +9116 -0
- data/doc/Users guide Apache.idmap.txt +6 -2
- data/doc/Users guide Apache.txt +26 -7
- data/doc/Users guide Nginx.html +9025 -0
- data/doc/Users guide Nginx.idmap.txt +7 -3
- data/doc/Users guide Nginx.txt +29 -6
- data/doc/Users guide Standalone.html +3983 -0
- data/doc/Users guide.html +1748 -0
- data/doc/users_guide_snippets/installation.txt +4 -4
- data/ext/apache2/Configuration.cpp +16 -5
- data/ext/apache2/Configuration.hpp +4 -2
- data/ext/apache2/Hooks.cpp +44 -19
- data/ext/boost/libs/thread/src/pthread/once.cpp +2 -0
- data/ext/boost/libs/thread/src/pthread/once_atomic.cpp +6 -0
- data/ext/common/AgentsStarter.h +3 -2
- data/ext/common/ApplicationPool2/DirectSpawner.h +14 -4
- data/ext/common/ApplicationPool2/DummySpawner.h +12 -7
- data/ext/common/ApplicationPool2/Implementation.cpp +1 -1
- data/ext/common/ApplicationPool2/Process.h +2 -1
- data/ext/common/ApplicationPool2/Session.h +6 -6
- data/ext/common/ApplicationPool2/SmartSpawner.h +19 -4
- data/ext/common/ApplicationPool2/Socket.h +59 -27
- data/ext/common/ApplicationPool2/Spawner.h +2 -2
- data/ext/common/BackgroundEventLoop.cpp +6 -1
- data/ext/common/Constants.h +1 -1
- data/ext/common/EventedClient.h +1 -1
- data/ext/common/EventedServer.h +2 -2
- data/ext/common/FileDescriptor.h +25 -6
- data/ext/common/Logging.cpp +107 -52
- data/ext/common/Logging.h +146 -19
- data/ext/common/MessageClient.h +2 -2
- data/ext/common/MessageServer.h +3 -2
- data/ext/common/RandomGenerator.h +8 -7
- data/ext/common/SafeLibev.h +5 -1
- data/ext/common/ServerKit/AcceptLoadBalancer.h +9 -4
- data/ext/common/ServerKit/FdSinkChannel.h +5 -2
- data/ext/common/ServerKit/FdSourceChannel.h +5 -2
- data/ext/common/ServerKit/FileBufferedChannel.h +2 -0
- data/ext/common/ServerKit/FileBufferedFdSinkChannel.h +7 -2
- data/ext/common/ServerKit/HttpServer.h +6 -0
- data/ext/common/ServerKit/Server.h +40 -3
- data/ext/common/StaticString.h +20 -0
- data/ext/common/UnionStation/Connection.h +3 -1
- data/ext/common/UnionStation/Core.h +6 -4
- data/ext/common/Utils.cpp +4 -3
- data/ext/common/Utils/DateParsing.h +19 -5
- data/ext/common/Utils/FastStringStream.h +183 -0
- data/ext/common/Utils/IOUtils.cpp +47 -28
- data/ext/common/Utils/IOUtils.h +56 -12
- data/ext/common/Utils/MessagePassing.h +3 -3
- data/ext/common/Utils/ProcessMetricsCollector.h +2 -2
- data/ext/common/Utils/ScopeGuard.h +16 -5
- data/ext/common/Utils/SpeedMeter.h +2 -2
- data/ext/common/Utils/StrIntUtils.cpp +6 -6
- data/ext/common/Utils/StrIntUtils.h +2 -1
- data/ext/common/agents/Base.cpp +56 -4
- data/ext/common/agents/Base.h +2 -1
- data/ext/common/agents/HelperAgent/AdminServer.h +122 -11
- data/ext/common/agents/HelperAgent/Main.cpp +16 -5
- data/ext/common/agents/HelperAgent/OptionParser.h +7 -1
- data/ext/common/agents/HelperAgent/RequestHandler.h +1 -1
- data/ext/common/agents/HelperAgent/RequestHandler/Hooks.cpp +10 -1
- data/ext/common/agents/HelperAgent/RequestHandler/Request.h +8 -0
- data/ext/common/agents/HelperAgent/RequestHandler/TurboCaching.h +4 -3
- data/ext/common/agents/LoggingAgent/AdminServer.h +57 -11
- data/ext/common/agents/LoggingAgent/LoggingServer.h +3 -3
- data/ext/common/agents/LoggingAgent/Main.cpp +11 -3
- data/ext/common/agents/Watchdog/AdminServer.h +53 -11
- data/ext/common/agents/Watchdog/AgentWatcher.cpp +3 -3
- data/ext/common/agents/Watchdog/Main.cpp +13 -6
- data/ext/libeio/ecb.h +1 -1
- data/ext/libev/ev.c +13 -1
- data/ext/libev/ev.h +3 -0
- data/ext/nginx/Configuration.c +28 -6
- data/ext/nginx/Configuration.h +2 -1
- data/ext/nginx/ngx_http_passenger_module.c +5 -4
- data/ext/oxt/dynamic_thread_group.hpp +38 -5
- data/lib/phusion_passenger.rb +1 -1
- data/lib/phusion_passenger/common_library.rb +9 -5
- data/lib/phusion_passenger/config/reopen_logs_command.rb +2 -2
- data/lib/phusion_passenger/packaging.rb +23 -37
- data/passenger.gemspec +21 -21
- metadata +4 -453
- metadata.gz.asc +7 -7
- data/.gitignore +0 -68
- data/.travis.yml +0 -16
- data/Gemfile +0 -17
- data/Gemfile.lock +0 -39
- data/Vagrantfile +0 -54
- data/debian.template/README.Debian +0 -15
- data/debian.template/changelog +0 -316
- data/debian.template/compat +0 -1
- data/debian.template/control.erb +0 -91
- data/debian.template/copyright +0 -385
- data/debian.template/libapache2-mod-passenger.install +0 -3
- data/debian.template/libapache2-mod-passenger.postinst +0 -36
- data/debian.template/libapache2-mod-passenger.prerm +0 -15
- data/debian.template/locations.ini.erb +0 -14
- data/debian.template/passenger-dev.install.erb +0 -3
- data/debian.template/passenger-doc.install.erb +0 -2
- data/debian.template/passenger.conf +0 -6
- data/debian.template/passenger.docs +0 -4
- data/debian.template/passenger.install.erb +0 -14
- data/debian.template/passenger.load +0 -3
- data/debian.template/passenger.manpages +0 -3
- data/debian.template/patches/series +0 -0
- data/debian.template/rules.erb +0 -76
- data/debian.template/source/format +0 -1
- data/ext/common/EventedBufferedInput.h +0 -458
- data/packaging/rpm/LICENSE.txt +0 -19
- data/packaging/rpm/Makefile +0 -13
- data/packaging/rpm/README.md +0 -41
- data/packaging/rpm/Vagrantfile +0 -38
- data/packaging/rpm/Vagrantfile.centos +0 -30
- data/packaging/rpm/build +0 -170
- data/packaging/rpm/create_project +0 -41
- data/packaging/rpm/git_update +0 -88
- data/packaging/rpm/image/Dockerfile +0 -37
- data/packaging/rpm/image/Gemfile +0 -3
- data/packaging/rpm/image/Gemfile.lock +0 -12
- data/packaging/rpm/image/RPM-GPG-KEY-amazon-ga +0 -19
- data/packaging/rpm/image/amazon2014-i386.cfg +0 -96
- data/packaging/rpm/image/amazon2014-x86_64.cfg +0 -96
- data/packaging/rpm/image/site-defaults.cfg +0 -168
- data/packaging/rpm/internal/build_tasks.rb +0 -238
- data/packaging/rpm/internal/dummygpg +0 -11
- data/packaging/rpm/internal/exec_build +0 -42
- data/packaging/rpm/internal/get_distro_arch +0 -14
- data/packaging/rpm/internal/get_distro_id +0 -10
- data/packaging/rpm/internal/git_update +0 -27
- data/packaging/rpm/internal/inituidgid +0 -17
- data/packaging/rpm/internal/my_init +0 -344
- data/packaging/rpm/internal/python27 +0 -3
- data/packaging/rpm/internal/repo_update +0 -46
- data/packaging/rpm/internal/setuser +0 -26
- data/packaging/rpm/internal/tracking_helper +0 -40
- data/packaging/rpm/jenkins_release +0 -99
- data/packaging/rpm/lib/build_tasks_support.rb +0 -402
- data/packaging/rpm/lib/preprocessor.rb +0 -341
- data/packaging/rpm/nginx_spec/404.html +0 -119
- data/packaging/rpm/nginx_spec/50x.html +0 -119
- data/packaging/rpm/nginx_spec/index.html +0 -116
- data/packaging/rpm/nginx_spec/nginx-auto-cc-gcc.patch +0 -13
- data/packaging/rpm/nginx_spec/nginx-logo.png +0 -0
- data/packaging/rpm/nginx_spec/nginx-upgrade +0 -13
- data/packaging/rpm/nginx_spec/nginx-upgrade.8 +0 -151
- data/packaging/rpm/nginx_spec/nginx.conf +0 -131
- data/packaging/rpm/nginx_spec/nginx.init +0 -144
- data/packaging/rpm/nginx_spec/nginx.logrotate +0 -13
- data/packaging/rpm/nginx_spec/nginx.service +0 -15
- data/packaging/rpm/nginx_spec/nginx.spec.template +0 -560
- data/packaging/rpm/nginx_spec/nginx.sysconfig +0 -4
- data/packaging/rpm/nginx_spec/passenger.conf +0 -9
- data/packaging/rpm/nginx_spec/poweredby.png +0 -0
- data/packaging/rpm/passenger_spec/apache-passenger.conf.in +0 -26
- data/packaging/rpm/passenger_spec/config.json +0 -30
- data/packaging/rpm/passenger_spec/passenger.logrotate +0 -7
- data/packaging/rpm/passenger_spec/passenger.spec.template +0 -478
- data/packaging/rpm/passenger_spec/passenger_dynamic_thread_group.patch +0 -16
- data/packaging/rpm/passenger_spec/passenger_tests_default_config_example.patch +0 -44
- data/packaging/rpm/passenger_spec/rubygem-passenger-4.0.18-GLIBC_HAVE_LONG_LONG.patch +0 -21
- data/packaging/rpm/repo_update +0 -114
- data/packaging/rpm/setup-system +0 -61
- data/packaging/rpm/shell +0 -10
- data/test/.rspec +0 -4
- data/test/config.json.example +0 -42
- data/test/config.json.rpm-automation +0 -15
- data/test/config.json.travis +0 -15
- data/test/config.json.vagrant +0 -30
- data/test/cxx/ApplicationPool2/DirectSpawnerTest.cpp +0 -124
- data/test/cxx/ApplicationPool2/OptionsTest.cpp +0 -30
- data/test/cxx/ApplicationPool2/PoolTest.cpp +0 -2062
- data/test/cxx/ApplicationPool2/ProcessTest.cpp +0 -130
- data/test/cxx/ApplicationPool2/SmartSpawnerTest.cpp +0 -243
- data/test/cxx/ApplicationPool2/SpawnerTestCases.cpp +0 -823
- data/test/cxx/BufferedIOTest.cpp +0 -364
- data/test/cxx/CachedFileStatTest.cpp +0 -402
- data/test/cxx/CxxTestMain.cpp +0 -181
- data/test/cxx/DataStructures/LStringTest.cpp +0 -275
- data/test/cxx/DataStructures/StringKeyTableTest.cpp +0 -199
- data/test/cxx/DateParsingTest.cpp +0 -75
- data/test/cxx/DechunkerTest.cpp +0 -250
- data/test/cxx/EventedBufferedInputTest.cpp +0 -758
- data/test/cxx/EventedClientTest.cpp +0 -523
- data/test/cxx/FileChangeCheckerTest.cpp +0 -331
- data/test/cxx/FileDescriptorTest.cpp +0 -69
- data/test/cxx/FilterSupportTest.cpp +0 -433
- data/test/cxx/IOUtilsTest.cpp +0 -861
- data/test/cxx/MemoryKit/MbufTest.cpp +0 -213
- data/test/cxx/MessageIOTest.cpp +0 -360
- data/test/cxx/MessagePassingTest.cpp +0 -81
- data/test/cxx/MessageReadersWritersTest.cpp +0 -576
- data/test/cxx/MessageServerTest.cpp +0 -393
- data/test/cxx/ProcessMetricsCollectorTest.cpp +0 -123
- data/test/cxx/RequestHandlerTest.cpp +0 -1463
- data/test/cxx/ResponseCacheTest.cpp +0 -322
- data/test/cxx/ServerKit/ChannelTest.cpp +0 -1467
- data/test/cxx/ServerKit/CookieUtilsTest.cpp +0 -274
- data/test/cxx/ServerKit/FileBufferedChannelTest.cpp +0 -992
- data/test/cxx/ServerKit/HeaderTableTest.cpp +0 -177
- data/test/cxx/ServerKit/HttpServerTest.cpp +0 -1580
- data/test/cxx/ServerKit/ServerTest.cpp +0 -408
- data/test/cxx/StaticStringTest.cpp +0 -220
- data/test/cxx/StringMapTest.cpp +0 -131
- data/test/cxx/SystemTimeTest.cpp +0 -37
- data/test/cxx/TemplateTest.cpp +0 -118
- data/test/cxx/TestSupport.cpp +0 -207
- data/test/cxx/TestSupport.h +0 -333
- data/test/cxx/UnionStationTest.cpp +0 -741
- data/test/cxx/Utils/StrIntUtilsTest.cpp +0 -39
- data/test/cxx/UtilsTest.cpp +0 -672
- data/test/cxx/VariantMapTest.cpp +0 -191
- data/test/gdbinit.example +0 -34
- data/test/integration_tests/apache2_tests.rb +0 -585
- data/test/integration_tests/downloaded_binaries_tests.rb +0 -185
- data/test/integration_tests/native_packaging_spec.rb +0 -368
- data/test/integration_tests/nginx_tests.rb +0 -402
- data/test/integration_tests/shared/example_webapp_tests.rb +0 -289
- data/test/integration_tests/source_packaging_test.rb +0 -201
- data/test/integration_tests/spec_helper.rb +0 -22
- data/test/integration_tests/standalone_tests.rb +0 -392
- data/test/node/line_reader_spec.js +0 -338
- data/test/node/spec_helper.js +0 -65
- data/test/oxt/backtrace_test.cpp +0 -88
- data/test/oxt/counter.hpp +0 -55
- data/test/oxt/dynamic_thread_group_test.cpp +0 -131
- data/test/oxt/oxt_test_main.cpp +0 -27
- data/test/oxt/spin_lock_test.cpp +0 -59
- data/test/oxt/syscall_interruption_test.cpp +0 -39
- data/test/ruby/debug_logging_spec.rb +0 -145
- data/test/ruby/message_channel_spec.rb +0 -196
- data/test/ruby/rack/loader_spec.rb +0 -42
- data/test/ruby/rack/preloader_spec.rb +0 -48
- data/test/ruby/rails3.0/loader_spec.rb +0 -26
- data/test/ruby/rails3.0/preloader_spec.rb +0 -32
- data/test/ruby/rails3.1/loader_spec.rb +0 -26
- data/test/ruby/rails3.1/preloader_spec.rb +0 -32
- data/test/ruby/rails3.2/loader_spec.rb +0 -26
- data/test/ruby/rails3.2/preloader_spec.rb +0 -32
- data/test/ruby/rails4.0/loader_spec.rb +0 -28
- data/test/ruby/rails4.0/preloader_spec.rb +0 -34
- data/test/ruby/rails4.1/loader_spec.rb +0 -28
- data/test/ruby/rails4.1/preloader_spec.rb +0 -34
- data/test/ruby/request_handler_spec.rb +0 -747
- data/test/ruby/shared/loader_sharedspec.rb +0 -247
- data/test/ruby/shared/rails/union_station_extensions_sharedspec.rb +0 -357
- data/test/ruby/shared/ruby_loader_sharedspec.rb +0 -55
- data/test/ruby/spec_helper.rb +0 -114
- data/test/ruby/standalone/runtime_installer_spec.rb +0 -402
- data/test/ruby/union_station_spec.rb +0 -288
- data/test/ruby/utils/file_system_watcher_spec.rb +0 -229
- data/test/ruby/utils/hosts_file_parser.rb +0 -258
- data/test/ruby/utils/tee_input_spec.rb +0 -235
- data/test/ruby/utils/unseekable_socket_spec.rb +0 -66
- data/test/ruby/utils_spec.rb +0 -41
- data/test/stub/apache2/httpd.conf.erb +0 -122
- data/test/stub/apache2/mime.types +0 -748
- data/test/stub/garbage1.dat +0 -0
- data/test/stub/garbage2.dat +0 -0
- data/test/stub/garbage3.dat +0 -0
- data/test/stub/http_request.yml +0 -23
- data/test/stub/index.html +0 -1
- data/test/stub/nginx/koi-utf +0 -109
- data/test/stub/nginx/koi-win +0 -103
- data/test/stub/nginx/mime.types +0 -70
- data/test/stub/nginx/nginx.conf.erb +0 -70
- data/test/stub/nginx/win-utf +0 -126
- data/test/stub/node/app.js +0 -133
- data/test/stub/node/public/.gitignore +0 -0
- data/test/stub/node/tmp/.gitignore +0 -0
- data/test/stub/rack/config.ru +0 -95
- data/test/stub/rack/library.rb +0 -16
- data/test/stub/rack/public/.gitignore +0 -0
- data/test/stub/rack/start.rb +0 -52
- data/test/stub/rack/tmp/.gitignore +0 -0
- data/test/stub/rails3.0/.gitignore +0 -4
- data/test/stub/rails3.0/Gemfile +0 -22
- data/test/stub/rails3.0/Gemfile.lock +0 -80
- data/test/stub/rails3.0/Rakefile +0 -10
- data/test/stub/rails3.0/app/controllers/application_controller.rb +0 -4
- data/test/stub/rails3.0/app/helpers/application_helper.rb +0 -2
- data/test/stub/rails3.0/app/views/layouts/application.html.erb +0 -14
- data/test/stub/rails3.0/config.ru +0 -4
- data/test/stub/rails3.0/config/application.rb +0 -48
- data/test/stub/rails3.0/config/boot.rb +0 -13
- data/test/stub/rails3.0/config/database.yml +0 -22
- data/test/stub/rails3.0/config/environment.rb +0 -5
- data/test/stub/rails3.0/config/environments/development.rb +0 -19
- data/test/stub/rails3.0/config/environments/production.rb +0 -48
- data/test/stub/rails3.0/config/environments/test.rb +0 -32
- data/test/stub/rails3.0/config/initializers/backtrace_silencers.rb +0 -7
- data/test/stub/rails3.0/config/initializers/inflections.rb +0 -10
- data/test/stub/rails3.0/config/initializers/mime_types.rb +0 -5
- data/test/stub/rails3.0/config/initializers/passenger.rb +0 -2
- data/test/stub/rails3.0/config/initializers/secret_token.rb +0 -7
- data/test/stub/rails3.0/config/initializers/session_store.rb +0 -8
- data/test/stub/rails3.0/config/locales/en.yml +0 -5
- data/test/stub/rails3.0/config/routes.rb +0 -58
- data/test/stub/rails3.0/db/seeds.rb +0 -7
- data/test/stub/rails3.0/doc/README_FOR_APP +0 -2
- data/test/stub/rails3.0/lib/tasks/.gitkeep +0 -0
- data/test/stub/rails3.0/log/.gitignore +0 -0
- data/test/stub/rails3.0/public/404.html +0 -26
- data/test/stub/rails3.0/public/422.html +0 -26
- data/test/stub/rails3.0/public/500.html +0 -26
- data/test/stub/rails3.0/public/favicon.ico +0 -0
- data/test/stub/rails3.0/public/index.html +0 -279
- data/test/stub/rails3.0/public/robots.txt +0 -5
- data/test/stub/rails3.0/public/stylesheets/.gitkeep +0 -0
- data/test/stub/rails3.0/script/rails +0 -9
- data/test/stub/rails3.0/test/performance/browsing_test.rb +0 -9
- data/test/stub/rails3.0/test/test_helper.rb +0 -13
- data/test/stub/rails3.0/vendor/plugins/.gitkeep +0 -0
- data/test/stub/rails3.1/.gitignore +0 -15
- data/test/stub/rails3.1/Gemfile +0 -37
- data/test/stub/rails3.1/Gemfile.lock +0 -115
- data/test/stub/rails3.1/README +0 -261
- data/test/stub/rails3.1/Rakefile +0 -7
- data/test/stub/rails3.1/app/assets/images/rails.png +0 -0
- data/test/stub/rails3.1/app/assets/stylesheets/application.css +0 -7
- data/test/stub/rails3.1/app/controllers/application_controller.rb +0 -3
- data/test/stub/rails3.1/app/helpers/application_helper.rb +0 -2
- data/test/stub/rails3.1/app/mailers/.gitkeep +0 -0
- data/test/stub/rails3.1/app/models/.gitkeep +0 -0
- data/test/stub/rails3.1/app/views/layouts/application.html.erb +0 -14
- data/test/stub/rails3.1/config.ru +0 -4
- data/test/stub/rails3.1/config/application.rb +0 -48
- data/test/stub/rails3.1/config/boot.rb +0 -6
- data/test/stub/rails3.1/config/database.yml +0 -25
- data/test/stub/rails3.1/config/environment.rb +0 -5
- data/test/stub/rails3.1/config/environments/development.rb +0 -30
- data/test/stub/rails3.1/config/environments/production.rb +0 -60
- data/test/stub/rails3.1/config/environments/test.rb +0 -39
- data/test/stub/rails3.1/config/initializers/backtrace_silencers.rb +0 -7
- data/test/stub/rails3.1/config/initializers/inflections.rb +0 -10
- data/test/stub/rails3.1/config/initializers/mime_types.rb +0 -5
- data/test/stub/rails3.1/config/initializers/passenger.rb +0 -2
- data/test/stub/rails3.1/config/initializers/secret_token.rb +0 -7
- data/test/stub/rails3.1/config/initializers/session_store.rb +0 -8
- data/test/stub/rails3.1/config/initializers/wrap_parameters.rb +0 -14
- data/test/stub/rails3.1/config/locales/en.yml +0 -5
- data/test/stub/rails3.1/config/routes.rb +0 -58
- data/test/stub/rails3.1/db/seeds.rb +0 -7
- data/test/stub/rails3.1/doc/README_FOR_APP +0 -2
- data/test/stub/rails3.1/lib/assets/.gitkeep +0 -0
- data/test/stub/rails3.1/lib/tasks/.gitkeep +0 -0
- data/test/stub/rails3.1/log/.gitkeep +0 -0
- data/test/stub/rails3.1/public/404.html +0 -26
- data/test/stub/rails3.1/public/422.html +0 -26
- data/test/stub/rails3.1/public/500.html +0 -26
- data/test/stub/rails3.1/public/favicon.ico +0 -0
- data/test/stub/rails3.1/public/index.html +0 -241
- data/test/stub/rails3.1/public/robots.txt +0 -5
- data/test/stub/rails3.1/script/rails +0 -6
- data/test/stub/rails3.1/test/fixtures/.gitkeep +0 -0
- data/test/stub/rails3.1/test/functional/.gitkeep +0 -0
- data/test/stub/rails3.1/test/integration/.gitkeep +0 -0
- data/test/stub/rails3.1/test/performance/browsing_test.rb +0 -12
- data/test/stub/rails3.1/test/test_helper.rb +0 -13
- data/test/stub/rails3.1/test/unit/.gitkeep +0 -0
- data/test/stub/rails3.1/vendor/assets/stylesheets/.gitkeep +0 -0
- data/test/stub/rails3.1/vendor/plugins/.gitkeep +0 -0
- data/test/stub/rails3.2/.gitignore +0 -15
- data/test/stub/rails3.2/Gemfile +0 -39
- data/test/stub/rails3.2/Gemfile.lock +0 -113
- data/test/stub/rails3.2/Rakefile +0 -7
- data/test/stub/rails3.2/app/assets/images/rails.png +0 -0
- data/test/stub/rails3.2/app/assets/stylesheets/application.css +0 -13
- data/test/stub/rails3.2/app/controllers/application_controller.rb +0 -3
- data/test/stub/rails3.2/app/helpers/application_helper.rb +0 -2
- data/test/stub/rails3.2/app/mailers/.gitkeep +0 -0
- data/test/stub/rails3.2/app/models/.gitkeep +0 -0
- data/test/stub/rails3.2/app/views/layouts/application.html.erb +0 -14
- data/test/stub/rails3.2/config.ru +0 -4
- data/test/stub/rails3.2/config/application.rb +0 -62
- data/test/stub/rails3.2/config/boot.rb +0 -6
- data/test/stub/rails3.2/config/database.yml +0 -25
- data/test/stub/rails3.2/config/environment.rb +0 -5
- data/test/stub/rails3.2/config/environments/development.rb +0 -37
- data/test/stub/rails3.2/config/environments/production.rb +0 -67
- data/test/stub/rails3.2/config/environments/test.rb +0 -37
- data/test/stub/rails3.2/config/initializers/backtrace_silencers.rb +0 -7
- data/test/stub/rails3.2/config/initializers/inflections.rb +0 -15
- data/test/stub/rails3.2/config/initializers/mime_types.rb +0 -5
- data/test/stub/rails3.2/config/initializers/passenger.rb +0 -2
- data/test/stub/rails3.2/config/initializers/secret_token.rb +0 -7
- data/test/stub/rails3.2/config/initializers/session_store.rb +0 -8
- data/test/stub/rails3.2/config/initializers/wrap_parameters.rb +0 -14
- data/test/stub/rails3.2/config/locales/en.yml +0 -5
- data/test/stub/rails3.2/config/routes.rb +0 -58
- data/test/stub/rails3.2/db/seeds.rb +0 -7
- data/test/stub/rails3.2/doc/README_FOR_APP +0 -2
- data/test/stub/rails3.2/lib/assets/.gitkeep +0 -0
- data/test/stub/rails3.2/lib/tasks/.gitkeep +0 -0
- data/test/stub/rails3.2/log/.gitkeep +0 -0
- data/test/stub/rails3.2/public/404.html +0 -26
- data/test/stub/rails3.2/public/422.html +0 -26
- data/test/stub/rails3.2/public/500.html +0 -25
- data/test/stub/rails3.2/public/favicon.ico +0 -0
- data/test/stub/rails3.2/public/index.html +0 -241
- data/test/stub/rails3.2/public/robots.txt +0 -5
- data/test/stub/rails3.2/script/rails +0 -6
- data/test/stub/rails3.2/test/fixtures/.gitkeep +0 -0
- data/test/stub/rails3.2/test/functional/.gitkeep +0 -0
- data/test/stub/rails3.2/test/integration/.gitkeep +0 -0
- data/test/stub/rails3.2/test/performance/browsing_test.rb +0 -12
- data/test/stub/rails3.2/test/test_helper.rb +0 -13
- data/test/stub/rails3.2/test/unit/.gitkeep +0 -0
- data/test/stub/rails3.2/vendor/assets/stylesheets/.gitkeep +0 -0
- data/test/stub/rails3.2/vendor/plugins/.gitkeep +0 -0
- data/test/stub/rails4.0/.gitignore +0 -16
- data/test/stub/rails4.0/Gemfile +0 -45
- data/test/stub/rails4.0/Gemfile.lock +0 -126
- data/test/stub/rails4.0/README.rdoc +0 -28
- data/test/stub/rails4.0/Rakefile +0 -6
- data/test/stub/rails4.0/app/assets/images/.keep +0 -0
- data/test/stub/rails4.0/app/assets/javascripts/application.js +0 -16
- data/test/stub/rails4.0/app/assets/stylesheets/application.css +0 -13
- data/test/stub/rails4.0/app/controllers/application_controller.rb +0 -5
- data/test/stub/rails4.0/app/controllers/concerns/.keep +0 -0
- data/test/stub/rails4.0/app/helpers/application_helper.rb +0 -2
- data/test/stub/rails4.0/app/mailers/.keep +0 -0
- data/test/stub/rails4.0/app/models/.keep +0 -0
- data/test/stub/rails4.0/app/models/concerns/.keep +0 -0
- data/test/stub/rails4.0/app/views/layouts/application.html.erb +0 -14
- data/test/stub/rails4.0/bin/bundle +0 -3
- data/test/stub/rails4.0/bin/rails +0 -4
- data/test/stub/rails4.0/bin/rake +0 -4
- data/test/stub/rails4.0/config.ru +0 -4
- data/test/stub/rails4.0/config/application.rb +0 -23
- data/test/stub/rails4.0/config/boot.rb +0 -4
- data/test/stub/rails4.0/config/database.yml +0 -25
- data/test/stub/rails4.0/config/environment.rb +0 -5
- data/test/stub/rails4.0/config/environments/development.rb +0 -29
- data/test/stub/rails4.0/config/environments/production.rb +0 -80
- data/test/stub/rails4.0/config/environments/test.rb +0 -36
- data/test/stub/rails4.0/config/initializers/backtrace_silencers.rb +0 -7
- data/test/stub/rails4.0/config/initializers/filter_parameter_logging.rb +0 -4
- data/test/stub/rails4.0/config/initializers/inflections.rb +0 -16
- data/test/stub/rails4.0/config/initializers/mime_types.rb +0 -5
- data/test/stub/rails4.0/config/initializers/passenger.rb +0 -2
- data/test/stub/rails4.0/config/initializers/secret_token.rb +0 -12
- data/test/stub/rails4.0/config/initializers/session_store.rb +0 -3
- data/test/stub/rails4.0/config/initializers/wrap_parameters.rb +0 -14
- data/test/stub/rails4.0/config/locales/en.yml +0 -23
- data/test/stub/rails4.0/config/routes.rb +0 -57
- data/test/stub/rails4.0/db/seeds.rb +0 -7
- data/test/stub/rails4.0/lib/assets/.keep +0 -0
- data/test/stub/rails4.0/lib/tasks/.keep +0 -0
- data/test/stub/rails4.0/log/.keep +0 -0
- data/test/stub/rails4.0/public/404.html +0 -58
- data/test/stub/rails4.0/public/422.html +0 -58
- data/test/stub/rails4.0/public/500.html +0 -57
- data/test/stub/rails4.0/public/favicon.ico +0 -0
- data/test/stub/rails4.0/public/robots.txt +0 -5
- data/test/stub/rails4.0/test/controllers/.keep +0 -0
- data/test/stub/rails4.0/test/fixtures/.keep +0 -0
- data/test/stub/rails4.0/test/helpers/.keep +0 -0
- data/test/stub/rails4.0/test/integration/.keep +0 -0
- data/test/stub/rails4.0/test/mailers/.keep +0 -0
- data/test/stub/rails4.0/test/models/.keep +0 -0
- data/test/stub/rails4.0/test/test_helper.rb +0 -15
- data/test/stub/rails4.0/vendor/assets/javascripts/.keep +0 -0
- data/test/stub/rails4.0/vendor/assets/stylesheets/.keep +0 -0
- data/test/stub/rails4.1/.gitignore +0 -16
- data/test/stub/rails4.1/Gemfile +0 -45
- data/test/stub/rails4.1/Gemfile.lock +0 -129
- data/test/stub/rails4.1/README.rdoc +0 -28
- data/test/stub/rails4.1/Rakefile +0 -6
- data/test/stub/rails4.1/app/assets/images/.keep +0 -0
- data/test/stub/rails4.1/app/assets/javascripts/application.js +0 -16
- data/test/stub/rails4.1/app/assets/stylesheets/application.css +0 -13
- data/test/stub/rails4.1/app/controllers/application_controller.rb +0 -5
- data/test/stub/rails4.1/app/controllers/concerns/.keep +0 -0
- data/test/stub/rails4.1/app/helpers/application_helper.rb +0 -2
- data/test/stub/rails4.1/app/mailers/.keep +0 -0
- data/test/stub/rails4.1/app/models/.keep +0 -0
- data/test/stub/rails4.1/app/models/concerns/.keep +0 -0
- data/test/stub/rails4.1/app/views/layouts/application.html.erb +0 -14
- data/test/stub/rails4.1/bin/bundle +0 -3
- data/test/stub/rails4.1/bin/rails +0 -4
- data/test/stub/rails4.1/bin/rake +0 -4
- data/test/stub/rails4.1/config.ru +0 -4
- data/test/stub/rails4.1/config/application.rb +0 -23
- data/test/stub/rails4.1/config/boot.rb +0 -4
- data/test/stub/rails4.1/config/database.yml +0 -25
- data/test/stub/rails4.1/config/environment.rb +0 -5
- data/test/stub/rails4.1/config/environments/development.rb +0 -29
- data/test/stub/rails4.1/config/environments/production.rb +0 -80
- data/test/stub/rails4.1/config/environments/test.rb +0 -36
- data/test/stub/rails4.1/config/initializers/backtrace_silencers.rb +0 -7
- data/test/stub/rails4.1/config/initializers/filter_parameter_logging.rb +0 -4
- data/test/stub/rails4.1/config/initializers/inflections.rb +0 -16
- data/test/stub/rails4.1/config/initializers/mime_types.rb +0 -5
- data/test/stub/rails4.1/config/initializers/passenger.rb +0 -5
- data/test/stub/rails4.1/config/initializers/secret_token.rb +0 -12
- data/test/stub/rails4.1/config/initializers/session_store.rb +0 -3
- data/test/stub/rails4.1/config/initializers/wrap_parameters.rb +0 -14
- data/test/stub/rails4.1/config/locales/en.yml +0 -23
- data/test/stub/rails4.1/config/routes.rb +0 -57
- data/test/stub/rails4.1/db/seeds.rb +0 -7
- data/test/stub/rails4.1/lib/assets/.keep +0 -0
- data/test/stub/rails4.1/lib/tasks/.keep +0 -0
- data/test/stub/rails4.1/log/.keep +0 -0
- data/test/stub/rails4.1/public/404.html +0 -58
- data/test/stub/rails4.1/public/422.html +0 -58
- data/test/stub/rails4.1/public/500.html +0 -57
- data/test/stub/rails4.1/public/favicon.ico +0 -0
- data/test/stub/rails4.1/public/robots.txt +0 -5
- data/test/stub/rails4.1/test/controllers/.keep +0 -0
- data/test/stub/rails4.1/test/fixtures/.keep +0 -0
- data/test/stub/rails4.1/test/helpers/.keep +0 -0
- data/test/stub/rails4.1/test/integration/.keep +0 -0
- data/test/stub/rails4.1/test/mailers/.keep +0 -0
- data/test/stub/rails4.1/test/models/.keep +0 -0
- data/test/stub/rails4.1/test/test_helper.rb +0 -15
- data/test/stub/rails4.1/vendor/assets/javascripts/.keep +0 -0
- data/test/stub/rails4.1/vendor/assets/stylesheets/.keep +0 -0
- data/test/stub/start_error.pl +0 -24
- data/test/stub/upload_data.txt +0 -494
- data/test/stub/wsgi/passenger_wsgi.py +0 -212
- data/test/stub/wsgi/public/.gitignore +0 -0
- data/test/stub/wsgi/tmp/.gitignore +0 -0
- data/test/support/allocate_memory.c +0 -14
- data/test/support/apache2_controller.rb +0 -258
- data/test/support/multipart.rb +0 -62
- data/test/support/nginx_controller.rb +0 -97
- data/test/support/placebo-preloader.rb +0 -88
- data/test/support/test_helper.rb +0 -455
- data/test/support/valgrind.h +0 -2539
- data/test/tut/tut.h +0 -1310
- data/test/tut/tut_reporter.h +0 -256
- data/test/valgrind-osx.supp +0 -7
@@ -1,66 +0,0 @@
|
|
1
|
-
require File.expand_path(File.dirname(__FILE__) + '/../spec_helper')
|
2
|
-
PhusionPassenger.require_passenger_lib 'utils/unseekable_socket'
|
3
|
-
|
4
|
-
module PhusionPassenger
|
5
|
-
|
6
|
-
describe Utils::UnseekableSocket do
|
7
|
-
class MyException < StandardError
|
8
|
-
end
|
9
|
-
|
10
|
-
class MySocket
|
11
|
-
def write(data)
|
12
|
-
end
|
13
|
-
|
14
|
-
def gets
|
15
|
-
end
|
16
|
-
|
17
|
-
def sync=(value)
|
18
|
-
end
|
19
|
-
end
|
20
|
-
|
21
|
-
before :each do
|
22
|
-
@socket = MySocket.new
|
23
|
-
@wrapper = Utils::UnseekableSocket.wrap(@socket)
|
24
|
-
end
|
25
|
-
|
26
|
-
def catch_exception
|
27
|
-
yield
|
28
|
-
return nil
|
29
|
-
rescue MyException => e
|
30
|
-
return e
|
31
|
-
end
|
32
|
-
|
33
|
-
it "delegates method calls to the wrapped socket" do
|
34
|
-
@socket.should_receive(:write).with("some data")
|
35
|
-
@socket.should_receive(:gets)
|
36
|
-
@wrapper.write("some data")
|
37
|
-
@wrapper.gets
|
38
|
-
end
|
39
|
-
|
40
|
-
it "annotates exceptions so that we can identify its source" do
|
41
|
-
@wrapper.source_of_exception?(MyException.new("foo")).should be_false
|
42
|
-
|
43
|
-
@socket.should_receive(:write).at_least(:once).and_raise(MyException.new("an error"))
|
44
|
-
@wrapper2 = Utils::UnseekableSocket.wrap(@socket)
|
45
|
-
e1 = catch_exception { @wrapper.write("hello") }
|
46
|
-
|
47
|
-
@wrapper.source_of_exception?(e1).should be_true
|
48
|
-
@wrapper2.source_of_exception?(e1).should be_true
|
49
|
-
|
50
|
-
@socket2 = MySocket.new
|
51
|
-
@socket2.should_receive(:write).at_least(:once).and_raise(MyException.new("an error"))
|
52
|
-
@wrapper.wrap(@socket2)
|
53
|
-
@wrapper2.wrap(@socket2)
|
54
|
-
e2 = catch_exception { @wrapper.write("hello") }
|
55
|
-
|
56
|
-
@wrapper.source_of_exception?(e1).should be_false
|
57
|
-
@wrapper2.source_of_exception?(e1).should be_false
|
58
|
-
@wrapper.source_of_exception?(e2).should be_true
|
59
|
-
@wrapper2.source_of_exception?(e2).should be_true
|
60
|
-
|
61
|
-
Utils::UnseekableSocket.new.source_of_exception?(e1).should be_false
|
62
|
-
Utils::UnseekableSocket.new.source_of_exception?(e2).should be_false
|
63
|
-
end
|
64
|
-
end
|
65
|
-
|
66
|
-
end # module PhusionPassenger
|
data/test/ruby/utils_spec.rb
DELETED
@@ -1,41 +0,0 @@
|
|
1
|
-
require File.expand_path(File.dirname(__FILE__) + '/spec_helper')
|
2
|
-
require 'tmpdir'
|
3
|
-
require 'fileutils'
|
4
|
-
require 'stringio'
|
5
|
-
require 'etc'
|
6
|
-
PhusionPassenger.require_passenger_lib 'message_channel'
|
7
|
-
PhusionPassenger.require_passenger_lib 'platform_info/ruby'
|
8
|
-
PhusionPassenger.require_passenger_lib 'loader_shared_helpers'
|
9
|
-
PhusionPassenger.require_passenger_lib 'utils'
|
10
|
-
PhusionPassenger.require_passenger_lib 'utils/native_support_utils'
|
11
|
-
|
12
|
-
module PhusionPassenger
|
13
|
-
|
14
|
-
describe Utils do
|
15
|
-
include Utils
|
16
|
-
include Utils::NativeSupportUtils
|
17
|
-
|
18
|
-
specify "#to_boolean works" do
|
19
|
-
LoaderSharedHelpers.to_boolean(nil).should be_false
|
20
|
-
LoaderSharedHelpers.to_boolean(false).should be_false
|
21
|
-
LoaderSharedHelpers.to_boolean(true).should be_true
|
22
|
-
LoaderSharedHelpers.to_boolean(1).should be_true
|
23
|
-
LoaderSharedHelpers.to_boolean(0).should be_true
|
24
|
-
LoaderSharedHelpers.to_boolean("").should be_true
|
25
|
-
LoaderSharedHelpers.to_boolean("true").should be_true
|
26
|
-
LoaderSharedHelpers.to_boolean("false").should be_false
|
27
|
-
LoaderSharedHelpers.to_boolean("bla bla").should be_true
|
28
|
-
end
|
29
|
-
|
30
|
-
specify "#split_by_null_into_hash works" do
|
31
|
-
split_by_null_into_hash("").should == {}
|
32
|
-
split_by_null_into_hash("foo\0bar\0").should == { "foo" => "bar" }
|
33
|
-
split_by_null_into_hash("foo\0\0bar\0baz\0").should == { "foo" => "", "bar" => "baz" }
|
34
|
-
split_by_null_into_hash("foo\0bar\0baz\0\0").should == { "foo" => "bar", "baz" => "" }
|
35
|
-
split_by_null_into_hash("\0\0").should == { "" => "" }
|
36
|
-
end
|
37
|
-
|
38
|
-
######################
|
39
|
-
end
|
40
|
-
|
41
|
-
end # module PhusionPassenger
|
@@ -1,122 +0,0 @@
|
|
1
|
-
ServerRoot "<%= @server_root %>"
|
2
|
-
Listen 127.0.0.1:<%= @port %>
|
3
|
-
<% if PhusionPassenger::PlatformInfo.os_name =~ /freebsd/ %>
|
4
|
-
Mutex default:/tmp
|
5
|
-
AcceptFilter http none
|
6
|
-
AcceptFilter https none
|
7
|
-
<% end %>
|
8
|
-
|
9
|
-
<% if @www_user %>
|
10
|
-
User <%= @www_user %>
|
11
|
-
<% end %>
|
12
|
-
<% if @www_group %>
|
13
|
-
Group <%= @www_group %>
|
14
|
-
<% end %>
|
15
|
-
|
16
|
-
<% if !has_builtin_module?('mod_log_config.c') %>
|
17
|
-
LoadModule log_config_module "<%= modules_dir %>/mod_log_config.so"
|
18
|
-
<% end %>
|
19
|
-
<% if !has_builtin_module?('mod_mime.c') %>
|
20
|
-
LoadModule mime_module "<%= modules_dir %>/mod_mime.so"
|
21
|
-
<% end %>
|
22
|
-
<% if !has_builtin_module?('mod_autoindex.c') %>
|
23
|
-
LoadModule autoindex_module "<%= modules_dir %>/mod_autoindex.so"
|
24
|
-
<% end %>
|
25
|
-
<% if !has_builtin_module?('mod_dir.c') %>
|
26
|
-
LoadModule dir_module "<%= modules_dir %>/mod_dir.so"
|
27
|
-
<% end %>
|
28
|
-
<% if !has_builtin_module?('mod_alias.c') %>
|
29
|
-
LoadModule alias_module "<%= modules_dir %>/mod_alias.so"
|
30
|
-
<% end %>
|
31
|
-
<% if !has_builtin_module?('mod_rewrite.c') %>
|
32
|
-
LoadModule rewrite_module "<%= modules_dir %>/mod_rewrite.so"
|
33
|
-
<% end %>
|
34
|
-
<% if !has_builtin_module?('mod_env.c') %>
|
35
|
-
LoadModule env_module "<%= modules_dir %>/mod_env.so"
|
36
|
-
<% end %>
|
37
|
-
<% if PlatformInfo.httpd_version >= '2.4.0' %>
|
38
|
-
LoadModule authz_core_module "<%= modules_dir %>/mod_authz_core.so"
|
39
|
-
<% if !has_builtin_module?('mod_unixd.c') %>
|
40
|
-
LoadModule unixd_module "<%= modules_dir %>/mod_unixd.so"
|
41
|
-
<% end %>
|
42
|
-
<% end %>
|
43
|
-
|
44
|
-
<% if !has_builtin_module?('prefork.c') &&
|
45
|
-
!has_builtin_module?('worker.c') &&
|
46
|
-
!has_builtin_module?('event.c') %>
|
47
|
-
<% if has_module?('mod_mpm_event.so') %>
|
48
|
-
LoadModule mpm_event_module "<%= modules_dir %>/mod_mpm_event.so"
|
49
|
-
<% elsif has_module?('mod_mpm_worker.so') %>
|
50
|
-
LoadModule mpm_worker_module "<%= modules_dir %>/mod_mpm_worker.so"
|
51
|
-
<% elsif has_module?('mod_mpm_prefork.so') %>
|
52
|
-
LoadModule mpm_prefork_module "<%= modules_dir %>/mod_mpm_event.so"
|
53
|
-
<% else %>
|
54
|
-
<% raise "Could not find any mpm module in: #{Dir.entries(modules_dir).inspect}" %>
|
55
|
-
<% end %>
|
56
|
-
<% end %>
|
57
|
-
|
58
|
-
LoadModule passenger_module "<%= @mod_passenger %>"
|
59
|
-
|
60
|
-
PassengerRoot "<%= @passenger_root %>"
|
61
|
-
PassengerDefaultRuby "<%= PlatformInfo.ruby_command %>"
|
62
|
-
PassengerDefaultUser <%= CONFIG['default_user'] %>
|
63
|
-
PassengerDefaultGroup <%= CONFIG['default_group'] %>
|
64
|
-
PassengerInstanceRegistryDir "<%= @passenger_temp_dir %>"
|
65
|
-
PassengerDataBufferDir "<%= @passenger_temp_dir %>"
|
66
|
-
RailsEnv production
|
67
|
-
RackEnv production
|
68
|
-
PassengerLogLevel 7
|
69
|
-
PassengerTurbocaching off
|
70
|
-
<% for line in @extra %>
|
71
|
-
<%= line %>
|
72
|
-
<% end %>
|
73
|
-
|
74
|
-
TypesConfig "<%= @server_root %>/mime.types"
|
75
|
-
StartServers 1
|
76
|
-
ServerLimit 10
|
77
|
-
MaxRequestsPerChild 50
|
78
|
-
MaxClients 10
|
79
|
-
<IfModule mpm_prefork_module>
|
80
|
-
MinSpareServers 1
|
81
|
-
MaxSpareServers 1
|
82
|
-
</IfModule>
|
83
|
-
<IfModule mpm_worker_module>
|
84
|
-
MinSpareThreads 1
|
85
|
-
MaxSpareThreads 1
|
86
|
-
ThreadsPerChild 2
|
87
|
-
</IfModule>
|
88
|
-
<IfModule mpm_event_module>
|
89
|
-
MinSpareThreads 1
|
90
|
-
MaxSpareThreads 1
|
91
|
-
ThreadsPerChild 2
|
92
|
-
</IfModule>
|
93
|
-
|
94
|
-
<Directory />
|
95
|
-
AllowOverride all
|
96
|
-
</Directory>
|
97
|
-
|
98
|
-
Timeout 60
|
99
|
-
ServerAdmin admin@passenger.test
|
100
|
-
ServerName passenger.test
|
101
|
-
DocumentRoot "<%= @server_root %>"
|
102
|
-
|
103
|
-
<% if PlatformInfo.httpd_version < '2.4.0' %>
|
104
|
-
LockFile <%= @server_root %>/httpd.lock
|
105
|
-
<% end %>
|
106
|
-
PidFile <%= @server_root %>/httpd.pid
|
107
|
-
ErrorLog <%= @server_root %>/../test.log
|
108
|
-
CustomLog <%= @server_root %>/access.log combined
|
109
|
-
|
110
|
-
<% if !vhosts.empty? && PlatformInfo.httpd_version < '2.4.0' %>
|
111
|
-
NameVirtualHost *:<%= @port %>
|
112
|
-
<% end %>
|
113
|
-
<% for vhost in vhosts %>
|
114
|
-
<VirtualHost *:<%= @port %>>
|
115
|
-
ServerName <%= vhost.domain %>
|
116
|
-
DocumentRoot "<%= vhost.document_root %>"
|
117
|
-
AllowEncodedSlashes On
|
118
|
-
<% for line in vhost.additional_configs %>
|
119
|
-
<%= line %>
|
120
|
-
<% end %>
|
121
|
-
</VirtualHost>
|
122
|
-
<% end %>
|
@@ -1,748 +0,0 @@
|
|
1
|
-
###############################################################################
|
2
|
-
#
|
3
|
-
# MIME-TYPES and the extensions that represent them
|
4
|
-
#
|
5
|
-
# This file is part of the "mime-support" package. Please send email (not a
|
6
|
-
# bug report) to mime-support@packages.debian.org if you would like new types
|
7
|
-
# and/or extensions to be added.
|
8
|
-
#
|
9
|
-
# The reason that all types are managed by the mime-support package instead
|
10
|
-
# allowing individual packages to install types in much the same way as they
|
11
|
-
# add entries in to the mailcap file is so these types can be referenced by
|
12
|
-
# other programs (such as a web server) even if the specific support package
|
13
|
-
# for that type is not installed.
|
14
|
-
#
|
15
|
-
# Users can add their own types if they wish by creating a ".mime.types"
|
16
|
-
# file in their home directory. Definitions included there will take
|
17
|
-
# precedence over those listed here.
|
18
|
-
#
|
19
|
-
# Note: Compression schemes like "gzip", "bzip", and "compress" are not
|
20
|
-
# actually "mime-types". They are "encodings" and hence must _not_ have
|
21
|
-
# entries in this file to map their extensions. The "mime-type" of an
|
22
|
-
# encoded file refers to the type of data that has been encoded, not the
|
23
|
-
# type of encoding.
|
24
|
-
#
|
25
|
-
###############################################################################
|
26
|
-
|
27
|
-
|
28
|
-
application/activemessage
|
29
|
-
application/andrew-inset ez
|
30
|
-
application/applefile
|
31
|
-
application/atom atom
|
32
|
-
application/atomcat+xml atomcat
|
33
|
-
application/atomserv+xml atomsrv
|
34
|
-
application/atomicmail
|
35
|
-
application/batch-SMTP
|
36
|
-
application/beep+xml
|
37
|
-
application/cals-1840
|
38
|
-
application/cap cap pcap
|
39
|
-
application/commonground
|
40
|
-
application/cu-seeme cu
|
41
|
-
application/cybercash
|
42
|
-
application/dca-rft
|
43
|
-
application/dec-dx
|
44
|
-
application/docbook+xml
|
45
|
-
application/dsptype tsp
|
46
|
-
application/dvcs
|
47
|
-
application/edi-consent
|
48
|
-
application/edi-x12
|
49
|
-
application/edifact
|
50
|
-
application/eshop
|
51
|
-
application/font-tdpfr
|
52
|
-
application/futuresplash spl
|
53
|
-
application/ghostview
|
54
|
-
application/hta hta
|
55
|
-
application/http
|
56
|
-
application/hyperstudio
|
57
|
-
application/iges
|
58
|
-
application/index
|
59
|
-
application/index.cmd
|
60
|
-
application/index.obj
|
61
|
-
application/index.response
|
62
|
-
application/index.vnd
|
63
|
-
application/iotp
|
64
|
-
application/ipp
|
65
|
-
application/isup
|
66
|
-
application/java-archive jar
|
67
|
-
application/java-serialized-object ser
|
68
|
-
application/java-vm class
|
69
|
-
application/mac-binhex40 hqx
|
70
|
-
application/mac-compactpro cpt
|
71
|
-
application/macwriteii
|
72
|
-
application/marc
|
73
|
-
application/mathematica nb
|
74
|
-
application/mathematica-old
|
75
|
-
application/ms-tnef
|
76
|
-
application/msaccess mdb
|
77
|
-
application/msword doc dot
|
78
|
-
application/news-message-id
|
79
|
-
application/news-transmission
|
80
|
-
application/ocsp-request
|
81
|
-
application/ocsp-response
|
82
|
-
application/octet-stream bin
|
83
|
-
application/oda oda
|
84
|
-
application/ogg ogg
|
85
|
-
application/parityfec
|
86
|
-
application/pdf pdf
|
87
|
-
application/pgp-encrypted
|
88
|
-
application/pgp-keys key
|
89
|
-
application/pgp-signature pgp
|
90
|
-
application/pics-rules prf
|
91
|
-
application/pkcs10
|
92
|
-
application/pkcs7-mime
|
93
|
-
application/pkcs7-signature
|
94
|
-
application/pkix-cert
|
95
|
-
application/pkix-crl
|
96
|
-
application/pkixcmp
|
97
|
-
application/postscript ps ai eps
|
98
|
-
application/prs.alvestrand.titrax-sheet
|
99
|
-
application/prs.cww
|
100
|
-
application/prs.nprend
|
101
|
-
application/qsig
|
102
|
-
application/rar rar
|
103
|
-
application/rdf+xml rdf
|
104
|
-
application/remote-printing
|
105
|
-
application/riscos
|
106
|
-
application/rss+xml rss
|
107
|
-
application/rtf rtf
|
108
|
-
application/sdp
|
109
|
-
application/set-payment
|
110
|
-
application/set-payment-initiation
|
111
|
-
application/set-registration
|
112
|
-
application/set-registration-initiation
|
113
|
-
application/sgml
|
114
|
-
application/sgml-open-catalog
|
115
|
-
application/sieve
|
116
|
-
application/slate
|
117
|
-
application/smil smi smil
|
118
|
-
application/timestamp-query
|
119
|
-
application/timestamp-reply
|
120
|
-
application/vemmi
|
121
|
-
application/whoispp-query
|
122
|
-
application/whoispp-response
|
123
|
-
application/wita
|
124
|
-
application/wordperfect wpd
|
125
|
-
application/wordperfect5.1 wp5
|
126
|
-
application/x400-bp
|
127
|
-
application/xhtml+xml xhtml xht
|
128
|
-
application/xml xml xsl
|
129
|
-
application/xml-dtd
|
130
|
-
application/xml-external-parsed-entity
|
131
|
-
application/zip zip
|
132
|
-
application/vnd.3M.Post-it-Notes
|
133
|
-
application/vnd.accpac.simply.aso
|
134
|
-
application/vnd.accpac.simply.imp
|
135
|
-
application/vnd.acucobol
|
136
|
-
application/vnd.aether.imp
|
137
|
-
application/vnd.anser-web-certificate-issue-initiation
|
138
|
-
application/vnd.anser-web-funds-transfer-initiation
|
139
|
-
application/vnd.audiograph
|
140
|
-
application/vnd.bmi
|
141
|
-
application/vnd.businessobjects
|
142
|
-
application/vnd.canon-cpdl
|
143
|
-
application/vnd.canon-lips
|
144
|
-
application/vnd.cinderella cdy
|
145
|
-
application/vnd.claymore
|
146
|
-
application/vnd.commerce-battelle
|
147
|
-
application/vnd.commonspace
|
148
|
-
application/vnd.comsocaller
|
149
|
-
application/vnd.contact.cmsg
|
150
|
-
application/vnd.cosmocaller
|
151
|
-
application/vnd.ctc-posml
|
152
|
-
application/vnd.cups-postscript
|
153
|
-
application/vnd.cups-raster
|
154
|
-
application/vnd.cups-raw
|
155
|
-
application/vnd.cybank
|
156
|
-
application/vnd.dna
|
157
|
-
application/vnd.dpgraph
|
158
|
-
application/vnd.dxr
|
159
|
-
application/vnd.ecdis-update
|
160
|
-
application/vnd.ecowin.chart
|
161
|
-
application/vnd.ecowin.filerequest
|
162
|
-
application/vnd.ecowin.fileupdate
|
163
|
-
application/vnd.ecowin.series
|
164
|
-
application/vnd.ecowin.seriesrequest
|
165
|
-
application/vnd.ecowin.seriesupdate
|
166
|
-
application/vnd.enliven
|
167
|
-
application/vnd.epson.esf
|
168
|
-
application/vnd.epson.msf
|
169
|
-
application/vnd.epson.quickanime
|
170
|
-
application/vnd.epson.salt
|
171
|
-
application/vnd.epson.ssf
|
172
|
-
application/vnd.ericsson.quickcall
|
173
|
-
application/vnd.eudora.data
|
174
|
-
application/vnd.fdf
|
175
|
-
application/vnd.ffsns
|
176
|
-
application/vnd.flographit
|
177
|
-
application/vnd.framemaker
|
178
|
-
application/vnd.fsc.weblaunch
|
179
|
-
application/vnd.fujitsu.oasys
|
180
|
-
application/vnd.fujitsu.oasys2
|
181
|
-
application/vnd.fujitsu.oasys3
|
182
|
-
application/vnd.fujitsu.oasysgp
|
183
|
-
application/vnd.fujitsu.oasysprs
|
184
|
-
application/vnd.fujixerox.ddd
|
185
|
-
application/vnd.fujixerox.docuworks
|
186
|
-
application/vnd.fujixerox.docuworks.binder
|
187
|
-
application/vnd.fut-misnet
|
188
|
-
application/vnd.google-earth.kml+xml kml
|
189
|
-
application/vnd.google-earth.kmz kmz
|
190
|
-
application/vnd.grafeq
|
191
|
-
application/vnd.groove-account
|
192
|
-
application/vnd.groove-identity-message
|
193
|
-
application/vnd.groove-injector
|
194
|
-
application/vnd.groove-tool-message
|
195
|
-
application/vnd.groove-tool-template
|
196
|
-
application/vnd.groove-vcard
|
197
|
-
application/vnd.hhe.lesson-player
|
198
|
-
application/vnd.hp-HPGL
|
199
|
-
application/vnd.hp-PCL
|
200
|
-
application/vnd.hp-PCLXL
|
201
|
-
application/vnd.hp-hpid
|
202
|
-
application/vnd.hp-hps
|
203
|
-
application/vnd.httphone
|
204
|
-
application/vnd.hzn-3d-crossword
|
205
|
-
application/vnd.ibm.MiniPay
|
206
|
-
application/vnd.ibm.afplinedata
|
207
|
-
application/vnd.ibm.modcap
|
208
|
-
application/vnd.informix-visionary
|
209
|
-
application/vnd.intercon.formnet
|
210
|
-
application/vnd.intertrust.digibox
|
211
|
-
application/vnd.intertrust.nncp
|
212
|
-
application/vnd.intu.qbo
|
213
|
-
application/vnd.intu.qfx
|
214
|
-
application/vnd.irepository.package+xml
|
215
|
-
application/vnd.is-xpr
|
216
|
-
application/vnd.japannet-directory-service
|
217
|
-
application/vnd.japannet-jpnstore-wakeup
|
218
|
-
application/vnd.japannet-payment-wakeup
|
219
|
-
application/vnd.japannet-registration
|
220
|
-
application/vnd.japannet-registration-wakeup
|
221
|
-
application/vnd.japannet-setstore-wakeup
|
222
|
-
application/vnd.japannet-verification
|
223
|
-
application/vnd.japannet-verification-wakeup
|
224
|
-
application/vnd.koan
|
225
|
-
application/vnd.lotus-1-2-3
|
226
|
-
application/vnd.lotus-approach
|
227
|
-
application/vnd.lotus-freelance
|
228
|
-
application/vnd.lotus-notes
|
229
|
-
application/vnd.lotus-organizer
|
230
|
-
application/vnd.lotus-screencam
|
231
|
-
application/vnd.lotus-wordpro
|
232
|
-
application/vnd.mcd
|
233
|
-
application/vnd.mediastation.cdkey
|
234
|
-
application/vnd.meridian-slingshot
|
235
|
-
application/vnd.mif
|
236
|
-
application/vnd.minisoft-hp3000-save
|
237
|
-
application/vnd.mitsubishi.misty-guard.trustweb
|
238
|
-
application/vnd.mobius.daf
|
239
|
-
application/vnd.mobius.dis
|
240
|
-
application/vnd.mobius.msl
|
241
|
-
application/vnd.mobius.plc
|
242
|
-
application/vnd.mobius.txf
|
243
|
-
application/vnd.motorola.flexsuite
|
244
|
-
application/vnd.motorola.flexsuite.adsi
|
245
|
-
application/vnd.motorola.flexsuite.fis
|
246
|
-
application/vnd.motorola.flexsuite.gotap
|
247
|
-
application/vnd.motorola.flexsuite.kmr
|
248
|
-
application/vnd.motorola.flexsuite.ttc
|
249
|
-
application/vnd.motorola.flexsuite.wem
|
250
|
-
application/vnd.mozilla.xul+xml xul
|
251
|
-
application/vnd.ms-artgalry
|
252
|
-
application/vnd.ms-asf
|
253
|
-
application/vnd.ms-excel xls xlb xlt
|
254
|
-
application/vnd.ms-lrm
|
255
|
-
application/vnd.ms-pki.seccat cat
|
256
|
-
application/vnd.ms-pki.stl stl
|
257
|
-
application/vnd.ms-powerpoint ppt pps
|
258
|
-
application/vnd.ms-project
|
259
|
-
application/vnd.ms-tnef
|
260
|
-
application/vnd.ms-works
|
261
|
-
application/vnd.mseq
|
262
|
-
application/vnd.msign
|
263
|
-
application/vnd.music-niff
|
264
|
-
application/vnd.musician
|
265
|
-
application/vnd.netfpx
|
266
|
-
application/vnd.noblenet-directory
|
267
|
-
application/vnd.noblenet-sealer
|
268
|
-
application/vnd.noblenet-web
|
269
|
-
application/vnd.novadigm.EDM
|
270
|
-
application/vnd.novadigm.EDX
|
271
|
-
application/vnd.novadigm.EXT
|
272
|
-
application/vnd.oasis.opendocument.chart odc
|
273
|
-
application/vnd.oasis.opendocument.database odb
|
274
|
-
application/vnd.oasis.opendocument.formula odf
|
275
|
-
application/vnd.oasis.opendocument.graphics odg
|
276
|
-
application/vnd.oasis.opendocument.graphics-template otg
|
277
|
-
application/vnd.oasis.opendocument.image odi
|
278
|
-
application/vnd.oasis.opendocument.presentation odp
|
279
|
-
application/vnd.oasis.opendocument.presentation-template otp
|
280
|
-
application/vnd.oasis.opendocument.spreadsheet ods
|
281
|
-
application/vnd.oasis.opendocument.spreadsheet-template ots
|
282
|
-
application/vnd.oasis.opendocument.text odt
|
283
|
-
application/vnd.oasis.opendocument.text-master odm
|
284
|
-
application/vnd.oasis.opendocument.text-template ott
|
285
|
-
application/vnd.oasis.opendocument.text-web oth
|
286
|
-
application/vnd.osa.netdeploy
|
287
|
-
application/vnd.palm
|
288
|
-
application/vnd.pg.format
|
289
|
-
application/vnd.pg.osasli
|
290
|
-
application/vnd.powerbuilder6
|
291
|
-
application/vnd.powerbuilder6-s
|
292
|
-
application/vnd.powerbuilder7
|
293
|
-
application/vnd.powerbuilder7-s
|
294
|
-
application/vnd.powerbuilder75
|
295
|
-
application/vnd.powerbuilder75-s
|
296
|
-
application/vnd.previewsystems.box
|
297
|
-
application/vnd.publishare-delta-tree
|
298
|
-
application/vnd.pvi.ptid1
|
299
|
-
application/vnd.pwg-xhtml-print+xml
|
300
|
-
application/vnd.rapid
|
301
|
-
application/vnd.rim.cod cod
|
302
|
-
application/vnd.s3sms
|
303
|
-
application/vnd.seemail
|
304
|
-
application/vnd.shana.informed.formdata
|
305
|
-
application/vnd.shana.informed.formtemplate
|
306
|
-
application/vnd.shana.informed.interchange
|
307
|
-
application/vnd.shana.informed.package
|
308
|
-
application/vnd.smaf mmf
|
309
|
-
application/vnd.sss-cod
|
310
|
-
application/vnd.sss-dtf
|
311
|
-
application/vnd.sss-ntf
|
312
|
-
application/vnd.stardivision.calc sdc
|
313
|
-
application/vnd.stardivision.chart sds
|
314
|
-
application/vnd.stardivision.draw sda
|
315
|
-
application/vnd.stardivision.impress sdd
|
316
|
-
application/vnd.stardivision.math sdf
|
317
|
-
application/vnd.stardivision.writer sdw
|
318
|
-
application/vnd.stardivision.writer-global sgl
|
319
|
-
application/vnd.street-stream
|
320
|
-
application/vnd.sun.xml.calc sxc
|
321
|
-
application/vnd.sun.xml.calc.template stc
|
322
|
-
application/vnd.sun.xml.draw sxd
|
323
|
-
application/vnd.sun.xml.draw.template std
|
324
|
-
application/vnd.sun.xml.impress sxi
|
325
|
-
application/vnd.sun.xml.impress.template sti
|
326
|
-
application/vnd.sun.xml.math sxm
|
327
|
-
application/vnd.sun.xml.writer sxw
|
328
|
-
application/vnd.sun.xml.writer.global sxg
|
329
|
-
application/vnd.sun.xml.writer.template stw
|
330
|
-
application/vnd.svd
|
331
|
-
application/vnd.swiftview-ics
|
332
|
-
application/vnd.symbian.install sis
|
333
|
-
application/vnd.triscape.mxs
|
334
|
-
application/vnd.trueapp
|
335
|
-
application/vnd.truedoc
|
336
|
-
application/vnd.tve-trigger
|
337
|
-
application/vnd.ufdl
|
338
|
-
application/vnd.uplanet.alert
|
339
|
-
application/vnd.uplanet.alert-wbxml
|
340
|
-
application/vnd.uplanet.bearer-choice
|
341
|
-
application/vnd.uplanet.bearer-choice-wbxml
|
342
|
-
application/vnd.uplanet.cacheop
|
343
|
-
application/vnd.uplanet.cacheop-wbxml
|
344
|
-
application/vnd.uplanet.channel
|
345
|
-
application/vnd.uplanet.channel-wbxml
|
346
|
-
application/vnd.uplanet.list
|
347
|
-
application/vnd.uplanet.list-wbxml
|
348
|
-
application/vnd.uplanet.listcmd
|
349
|
-
application/vnd.uplanet.listcmd-wbxml
|
350
|
-
application/vnd.uplanet.signal
|
351
|
-
application/vnd.vcx
|
352
|
-
application/vnd.vectorworks
|
353
|
-
application/vnd.vidsoft.vidconference
|
354
|
-
application/vnd.visio vsd
|
355
|
-
application/vnd.vividence.scriptfile
|
356
|
-
application/vnd.wap.sic
|
357
|
-
application/vnd.wap.slc
|
358
|
-
application/vnd.wap.wbxml wbxml
|
359
|
-
application/vnd.wap.wmlc wmlc
|
360
|
-
application/vnd.wap.wmlscriptc wmlsc
|
361
|
-
application/vnd.webturbo
|
362
|
-
application/vnd.wrq-hp3000-labelled
|
363
|
-
application/vnd.wt.stf
|
364
|
-
application/vnd.xara
|
365
|
-
application/vnd.xfdl
|
366
|
-
application/vnd.yellowriver-custom-menu
|
367
|
-
application/x-123 wk
|
368
|
-
application/x-7z-compressed 7z
|
369
|
-
application/x-abiword abw
|
370
|
-
application/x-apple-diskimage dmg
|
371
|
-
application/x-bcpio bcpio
|
372
|
-
application/x-bittorrent torrent
|
373
|
-
application/x-cab cab
|
374
|
-
application/x-cbr cbr
|
375
|
-
application/x-cbz cbz
|
376
|
-
application/x-cdf cdf
|
377
|
-
application/x-cdlink vcd
|
378
|
-
application/x-chess-pgn pgn
|
379
|
-
application/x-core
|
380
|
-
application/x-cpio cpio
|
381
|
-
application/x-csh csh
|
382
|
-
application/x-debian-package deb udeb
|
383
|
-
application/x-director dcr dir dxr
|
384
|
-
application/x-dms dms
|
385
|
-
application/x-doom wad
|
386
|
-
application/x-dvi dvi
|
387
|
-
application/x-httpd-eruby rhtml
|
388
|
-
application/x-executable
|
389
|
-
application/x-flac flac
|
390
|
-
application/x-font pfa pfb gsf pcf pcf.Z
|
391
|
-
application/x-freemind mm
|
392
|
-
application/x-futuresplash spl
|
393
|
-
application/x-gnumeric gnumeric
|
394
|
-
application/x-go-sgf sgf
|
395
|
-
application/x-graphing-calculator gcf
|
396
|
-
application/x-gtar gtar tgz taz
|
397
|
-
application/x-hdf hdf
|
398
|
-
application/x-httpd-php phtml pht php
|
399
|
-
application/x-httpd-php-source phps
|
400
|
-
application/x-httpd-php3 php3
|
401
|
-
application/x-httpd-php3-preprocessed php3p
|
402
|
-
application/x-httpd-php4 php4
|
403
|
-
application/x-ica ica
|
404
|
-
application/x-internet-signup ins isp
|
405
|
-
application/x-iphone iii
|
406
|
-
application/x-iso9660-image iso
|
407
|
-
application/x-java-applet
|
408
|
-
application/x-java-bean
|
409
|
-
application/x-java-jnlp-file jnlp
|
410
|
-
application/x-javascript js
|
411
|
-
application/x-jmol jmz
|
412
|
-
application/x-kchart chrt
|
413
|
-
application/x-kdelnk
|
414
|
-
application/x-killustrator kil
|
415
|
-
application/x-koan skp skd skt skm
|
416
|
-
application/x-kpresenter kpr kpt
|
417
|
-
application/x-kspread ksp
|
418
|
-
application/x-kword kwd kwt
|
419
|
-
application/x-latex latex
|
420
|
-
application/x-lha lha
|
421
|
-
application/x-lyx lyx
|
422
|
-
application/x-lzh lzh
|
423
|
-
application/x-lzx lzx
|
424
|
-
application/x-maker frm maker frame fm fb book fbdoc
|
425
|
-
application/x-mif mif
|
426
|
-
application/x-ms-wmd wmd
|
427
|
-
application/x-ms-wmz wmz
|
428
|
-
application/x-msdos-program com exe bat dll
|
429
|
-
application/x-msi msi
|
430
|
-
application/x-netcdf nc
|
431
|
-
application/x-ns-proxy-autoconfig pac
|
432
|
-
application/x-nwc nwc
|
433
|
-
application/x-object o
|
434
|
-
application/x-oz-application oza
|
435
|
-
application/x-pkcs7-certreqresp p7r
|
436
|
-
application/x-pkcs7-crl crl
|
437
|
-
application/x-python-code pyc pyo
|
438
|
-
application/x-quicktimeplayer qtl
|
439
|
-
application/x-redhat-package-manager rpm
|
440
|
-
application/x-rx
|
441
|
-
application/x-sh sh
|
442
|
-
application/x-shar shar
|
443
|
-
application/x-shellscript
|
444
|
-
application/x-shockwave-flash swf swfl
|
445
|
-
application/x-stuffit sit sitx
|
446
|
-
application/x-sv4cpio sv4cpio
|
447
|
-
application/x-sv4crc sv4crc
|
448
|
-
application/x-tar tar
|
449
|
-
application/x-tcl tcl
|
450
|
-
application/x-tex-gf gf
|
451
|
-
application/x-tex-pk pk
|
452
|
-
application/x-texinfo texinfo texi
|
453
|
-
application/x-trash ~ % bak old sik
|
454
|
-
application/x-troff t tr roff
|
455
|
-
application/x-troff-man man
|
456
|
-
application/x-troff-me me
|
457
|
-
application/x-troff-ms ms
|
458
|
-
application/x-ustar ustar
|
459
|
-
application/x-videolan
|
460
|
-
application/x-wais-source src
|
461
|
-
application/x-wingz wz
|
462
|
-
application/x-x509-ca-cert crt
|
463
|
-
application/x-xcf xcf
|
464
|
-
application/x-xfig fig
|
465
|
-
application/x-xpinstall xpi
|
466
|
-
|
467
|
-
audio/32kadpcm
|
468
|
-
audio/3gpp
|
469
|
-
audio/basic au snd
|
470
|
-
audio/g.722.1
|
471
|
-
audio/l16
|
472
|
-
audio/midi mid midi kar
|
473
|
-
audio/mp4a-latm
|
474
|
-
audio/mpa-robust
|
475
|
-
audio/mpeg mpga mpega mp2 mp3 m4a
|
476
|
-
audio/mpegurl m3u
|
477
|
-
audio/parityfec
|
478
|
-
audio/prs.sid sid
|
479
|
-
audio/telephone-event
|
480
|
-
audio/tone
|
481
|
-
audio/vnd.cisco.nse
|
482
|
-
audio/vnd.cns.anp1
|
483
|
-
audio/vnd.cns.inf1
|
484
|
-
audio/vnd.digital-winds
|
485
|
-
audio/vnd.everad.plj
|
486
|
-
audio/vnd.lucent.voice
|
487
|
-
audio/vnd.nortel.vbk
|
488
|
-
audio/vnd.nuera.ecelp4800
|
489
|
-
audio/vnd.nuera.ecelp7470
|
490
|
-
audio/vnd.nuera.ecelp9600
|
491
|
-
audio/vnd.octel.sbc
|
492
|
-
audio/vnd.qcelp
|
493
|
-
audio/vnd.rhetorex.32kadpcm
|
494
|
-
audio/vnd.vmx.cvsd
|
495
|
-
audio/x-aiff aif aiff aifc
|
496
|
-
audio/x-gsm gsm
|
497
|
-
audio/x-mpegurl m3u
|
498
|
-
audio/x-ms-wma wma
|
499
|
-
audio/x-ms-wax wax
|
500
|
-
audio/x-pn-realaudio-plugin
|
501
|
-
audio/x-pn-realaudio ra rm ram
|
502
|
-
audio/x-realaudio ra
|
503
|
-
audio/x-scpls pls
|
504
|
-
audio/x-sd2 sd2
|
505
|
-
audio/x-wav wav
|
506
|
-
|
507
|
-
chemical/x-alchemy alc
|
508
|
-
chemical/x-cache cac cache
|
509
|
-
chemical/x-cache-csf csf
|
510
|
-
chemical/x-cactvs-binary cbin cascii ctab
|
511
|
-
chemical/x-cdx cdx
|
512
|
-
chemical/x-cerius cer
|
513
|
-
chemical/x-chem3d c3d
|
514
|
-
chemical/x-chemdraw chm
|
515
|
-
chemical/x-cif cif
|
516
|
-
chemical/x-cmdf cmdf
|
517
|
-
chemical/x-cml cml
|
518
|
-
chemical/x-compass cpa
|
519
|
-
chemical/x-crossfire bsd
|
520
|
-
chemical/x-csml csml csm
|
521
|
-
chemical/x-ctx ctx
|
522
|
-
chemical/x-cxf cxf cef
|
523
|
-
#chemical/x-daylight-smiles smi
|
524
|
-
chemical/x-embl-dl-nucleotide emb embl
|
525
|
-
chemical/x-galactic-spc spc
|
526
|
-
chemical/x-gamess-input inp gam gamin
|
527
|
-
chemical/x-gaussian-checkpoint fch fchk
|
528
|
-
chemical/x-gaussian-cube cub
|
529
|
-
chemical/x-gaussian-input gau gjc gjf
|
530
|
-
chemical/x-gaussian-log gal
|
531
|
-
chemical/x-gcg8-sequence gcg
|
532
|
-
chemical/x-genbank gen
|
533
|
-
chemical/x-hin hin
|
534
|
-
chemical/x-isostar istr ist
|
535
|
-
chemical/x-jcamp-dx jdx dx
|
536
|
-
chemical/x-kinemage kin
|
537
|
-
chemical/x-macmolecule mcm
|
538
|
-
chemical/x-macromodel-input mmd mmod
|
539
|
-
chemical/x-mdl-molfile mol
|
540
|
-
chemical/x-mdl-rdfile rd
|
541
|
-
chemical/x-mdl-rxnfile rxn
|
542
|
-
chemical/x-mdl-sdfile sd sdf
|
543
|
-
chemical/x-mdl-tgf tgf
|
544
|
-
#chemical/x-mif mif
|
545
|
-
chemical/x-mmcif mcif
|
546
|
-
chemical/x-mol2 mol2
|
547
|
-
chemical/x-molconn-Z b
|
548
|
-
chemical/x-mopac-graph gpt
|
549
|
-
chemical/x-mopac-input mop mopcrt mpc dat zmt
|
550
|
-
chemical/x-mopac-out moo
|
551
|
-
chemical/x-mopac-vib mvb
|
552
|
-
chemical/x-ncbi-asn1 asn
|
553
|
-
chemical/x-ncbi-asn1-ascii prt ent
|
554
|
-
chemical/x-ncbi-asn1-binary val aso
|
555
|
-
chemical/x-ncbi-asn1-spec asn
|
556
|
-
chemical/x-pdb pdb ent
|
557
|
-
chemical/x-rosdal ros
|
558
|
-
chemical/x-swissprot sw
|
559
|
-
chemical/x-vamas-iso14976 vms
|
560
|
-
chemical/x-vmd vmd
|
561
|
-
chemical/x-xtel xtel
|
562
|
-
chemical/x-xyz xyz
|
563
|
-
|
564
|
-
image/cgm
|
565
|
-
image/g3fax
|
566
|
-
image/gif gif
|
567
|
-
image/ief ief
|
568
|
-
image/jpeg jpeg jpg jpe
|
569
|
-
image/naplps
|
570
|
-
image/pcx pcx
|
571
|
-
image/png png
|
572
|
-
image/prs.btif
|
573
|
-
image/prs.pti
|
574
|
-
image/svg+xml svg svgz
|
575
|
-
image/tiff tiff tif
|
576
|
-
image/vnd.cns.inf2
|
577
|
-
image/vnd.djvu djvu djv
|
578
|
-
image/vnd.dwg
|
579
|
-
image/vnd.dxf
|
580
|
-
image/vnd.fastbidsheet
|
581
|
-
image/vnd.fpx
|
582
|
-
image/vnd.fst
|
583
|
-
image/vnd.fujixerox.edmics-mmr
|
584
|
-
image/vnd.fujixerox.edmics-rlc
|
585
|
-
image/vnd.mix
|
586
|
-
image/vnd.net-fpx
|
587
|
-
image/vnd.svf
|
588
|
-
image/vnd.wap.wbmp wbmp
|
589
|
-
image/vnd.xiff
|
590
|
-
image/x-cmu-raster ras
|
591
|
-
image/x-coreldraw cdr
|
592
|
-
image/x-coreldrawpattern pat
|
593
|
-
image/x-coreldrawtemplate cdt
|
594
|
-
image/x-corelphotopaint cpt
|
595
|
-
image/x-icon ico
|
596
|
-
image/x-jg art
|
597
|
-
image/x-jng jng
|
598
|
-
image/x-ms-bmp bmp
|
599
|
-
image/x-photoshop psd
|
600
|
-
image/x-portable-anymap pnm
|
601
|
-
image/x-portable-bitmap pbm
|
602
|
-
image/x-portable-graymap pgm
|
603
|
-
image/x-portable-pixmap ppm
|
604
|
-
image/x-rgb rgb
|
605
|
-
image/x-xbitmap xbm
|
606
|
-
image/x-xpixmap xpm
|
607
|
-
image/x-xwindowdump xwd
|
608
|
-
|
609
|
-
inode/chardevice
|
610
|
-
inode/blockdevice
|
611
|
-
inode/directory-locked
|
612
|
-
inode/directory
|
613
|
-
inode/fifo
|
614
|
-
inode/socket
|
615
|
-
|
616
|
-
message/delivery-status
|
617
|
-
message/disposition-notification
|
618
|
-
message/external-body
|
619
|
-
message/http
|
620
|
-
message/s-http
|
621
|
-
message/news
|
622
|
-
message/partial
|
623
|
-
message/rfc822 eml
|
624
|
-
|
625
|
-
model/iges igs iges
|
626
|
-
model/mesh msh mesh silo
|
627
|
-
model/vnd.dwf
|
628
|
-
model/vnd.flatland.3dml
|
629
|
-
model/vnd.gdl
|
630
|
-
model/vnd.gs-gdl
|
631
|
-
model/vnd.gtw
|
632
|
-
model/vnd.mts
|
633
|
-
model/vnd.vtu
|
634
|
-
model/vrml wrl vrml
|
635
|
-
|
636
|
-
multipart/alternative
|
637
|
-
multipart/appledouble
|
638
|
-
multipart/byteranges
|
639
|
-
multipart/digest
|
640
|
-
multipart/encrypted
|
641
|
-
multipart/form-data
|
642
|
-
multipart/header-set
|
643
|
-
multipart/mixed
|
644
|
-
multipart/parallel
|
645
|
-
multipart/related
|
646
|
-
multipart/report
|
647
|
-
multipart/signed
|
648
|
-
multipart/voice-message
|
649
|
-
|
650
|
-
text/calendar ics icz
|
651
|
-
text/css css
|
652
|
-
text/csv csv
|
653
|
-
text/directory
|
654
|
-
text/english
|
655
|
-
text/enriched
|
656
|
-
text/h323 323
|
657
|
-
text/html html htm shtml
|
658
|
-
text/iuls uls
|
659
|
-
text/mathml mml
|
660
|
-
text/parityfec
|
661
|
-
text/plain asc txt text pot
|
662
|
-
text/prs.lines.tag
|
663
|
-
text/rfc822-headers
|
664
|
-
text/richtext rtx
|
665
|
-
text/rtf
|
666
|
-
text/scriptlet sct wsc
|
667
|
-
text/t140
|
668
|
-
text/texmacs tm ts
|
669
|
-
text/tab-separated-values tsv
|
670
|
-
text/uri-list
|
671
|
-
text/vnd.abc
|
672
|
-
text/vnd.curl
|
673
|
-
text/vnd.DMClientScript
|
674
|
-
text/vnd.flatland.3dml
|
675
|
-
text/vnd.fly
|
676
|
-
text/vnd.fmi.flexstor
|
677
|
-
text/vnd.in3d.3dml
|
678
|
-
text/vnd.in3d.spot
|
679
|
-
text/vnd.IPTC.NewsML
|
680
|
-
text/vnd.IPTC.NITF
|
681
|
-
text/vnd.latex-z
|
682
|
-
text/vnd.motorola.reflex
|
683
|
-
text/vnd.ms-mediapackage
|
684
|
-
text/vnd.sun.j2me.app-descriptor jad
|
685
|
-
text/vnd.wap.si
|
686
|
-
text/vnd.wap.sl
|
687
|
-
text/vnd.wap.wml wml
|
688
|
-
text/vnd.wap.wmlscript wmls
|
689
|
-
text/x-bibtex bib
|
690
|
-
text/x-boo boo
|
691
|
-
text/x-c++hdr h++ hpp hxx hh
|
692
|
-
text/x-c++src c++ cpp cxx cc
|
693
|
-
text/x-chdr h
|
694
|
-
text/x-component htc
|
695
|
-
text/x-crontab
|
696
|
-
text/x-csh csh
|
697
|
-
text/x-csrc c
|
698
|
-
text/x-dsrc d
|
699
|
-
text/x-diff diff patch
|
700
|
-
text/x-haskell hs
|
701
|
-
text/x-java java
|
702
|
-
text/x-literate-haskell lhs
|
703
|
-
text/x-makefile
|
704
|
-
text/x-moc moc
|
705
|
-
text/x-pascal p pas
|
706
|
-
text/x-pcs-gcd gcd
|
707
|
-
text/x-perl pl pm
|
708
|
-
text/x-python py
|
709
|
-
text/x-server-parsed-html
|
710
|
-
text/x-setext etx
|
711
|
-
text/x-sh sh
|
712
|
-
text/x-tcl tcl tk
|
713
|
-
text/x-tex tex ltx sty cls
|
714
|
-
text/x-vcalendar vcs
|
715
|
-
text/x-vcard vcf
|
716
|
-
|
717
|
-
video/3gpp 3gp
|
718
|
-
video/dl dl
|
719
|
-
video/dv dif dv
|
720
|
-
video/fli fli
|
721
|
-
video/gl gl
|
722
|
-
video/mpeg mpeg mpg mpe
|
723
|
-
video/mp4 mp4
|
724
|
-
video/quicktime qt mov
|
725
|
-
video/mp4v-es
|
726
|
-
video/parityfec
|
727
|
-
video/pointer
|
728
|
-
video/vnd.fvt
|
729
|
-
video/vnd.motorola.video
|
730
|
-
video/vnd.motorola.videop
|
731
|
-
video/vnd.mpegurl mxu
|
732
|
-
video/vnd.mts
|
733
|
-
video/vnd.nokia.interleaved-multimedia
|
734
|
-
video/vnd.vivo
|
735
|
-
video/x-la-asf lsf lsx
|
736
|
-
video/x-mng mng
|
737
|
-
video/x-ms-asf asf asx
|
738
|
-
video/x-ms-wm wm
|
739
|
-
video/x-ms-wmv wmv
|
740
|
-
video/x-ms-wmx wmx
|
741
|
-
video/x-ms-wvx wvx
|
742
|
-
video/x-msvideo avi
|
743
|
-
video/x-sgi-movie movie
|
744
|
-
|
745
|
-
x-conference/x-cooltalk ice
|
746
|
-
|
747
|
-
x-epoc/x-sisx-app sisx
|
748
|
-
x-world/x-vrml vrm vrml wrl
|